Hi Guys,
I'm trying to deallocate an order line, when the status on the line is specifically 44 (pick list printed).
In M3, we can achieve this manually via:
Delivery Toolbox (MWS410) --> Picking Lists (MWS420) --> Picking List Lines (MWS422) --> Allocation (MMS121), and setting the allocated amount to zero. The line on the original order then goes back to unallocated (22), and we can reallocate it and re-release the pick list.
I've been trying to unallocate a line via API using MMS120MI.DeAllocateOrLne to achieve the same as above - but it doesn't seem to be working. I've tried a few other methods, but nothing.
Does anyone know how I could achieve this via scripted API?
Cheers,
Iain