Shimon,
If this is DocuWare 7, and the AIX job is an instant AIX job, then the problem might just be timing. If you restore the document within a few seconds of deleting the original then the updates to the system in the backend may not have completed. This is the only thing I can think of to cause this. If the above is true, can you test this theory by waiting a bit longer before re-storing the document?
Phil Robson
Senior Director Support Americas