I have an issue or trouble with archive process, attach is zip file of script for archive process. For example we have 20 PO/20 record with closed status. After we archive the record duplicated become 30 PO or 30 record, 10 record just duplicated. We use Windows Server 2008 Std R2, FM server 16. for client use windows 7 home sp1 and windows 7 professional SP1 also use FM 16/17 pro advance.
Is something wrong with the script?