Index: BL/MB/UGLYPicking/ReceptieProductie.cls.xml =================================================================== diff -u -r18117 -r18138 --- BL/MB/UGLYPicking/ReceptieProductie.cls.xml (.../ReceptieProductie.cls.xml) (revision 18117) +++ BL/MB/UGLYPicking/ReceptieProductie.cls.xml (.../ReceptieProductie.cls.xml) (revision 18138) @@ -164,7 +164,7 @@ set JobID=$O(^aRecProdRecsToSend("")) While (JobID '= "") && 'SynchronizeRecsAvailable { - Set SynchronizeRecsAvailable = $D(^$JOB(JobID)) + Set SynchronizeRecsAvailable = ($D(^$JOB(JobID)) && (JobID = $job)) set JobID = $O(^aRecProdRecsToSend(JobID)) }