I have a class that processes the picking lists with a status of "Activated" and sends these to the XML then updates the status to "Started". This has been running for a number of years via batch without an issue. About a month ago we started to have problems with some picking lists that, although they were updated as started haven't actually been sent to the AIF queue. The code is as follows:-
if (wmsPickingRoute.canXMLBeSent())
{
wmsPickingRoute.sendElectronically(XMLDocPurpose::Original);
wmsPickingRoute.ttsbegin();
wmsPickingRoute.expeditionStatus = wmsExpeditionStatus::Started;
wmsPickingRoute.StartDateTime = DateTimeUtil::getSystemDateTime();
wmsPickingRoute.operatorWorker = DirPersonUser::findUserWorkerReference();
wmspickingRoute.update();
wmsPickingRoute.ttscommit();
}
I know it has gone through this as the WMS picking route is updated to started but the lines are not - they still show as activated. The pick list does not appear in the AIF Queue manager. My user has System admin rights and I was the one to add the class to the batch queue.
If I run this on a client they process as expected. The picklists that are failing are ones that have been posted to pick via another batch process. I'm wondering if there is a security issue somewhere but as far as I'm aware nothing has changed in that area. Any ideas of where to look would be appreciated.
Many thanks
Paulina
*This post is locked for comments
I have the same question (0)