Hi,
is it even possible to change the status in a movement work from available to blocked?
I change the status by code (simply setting "_toInventStatusId" in code down below) if the target location is some special location.
The code seem to allow that:
Bu if i try to execute the movement work it ends in a dead lock. The client pretends to process and i have to restart AX.
Now my question is, is it an illegal action to change status during work?
Edit:
I completed the work by WHSWorkExecute-Form and it worked out perfectly. Maybe some parameters are missing when i execute it by "Complete Work"-Button. I suspect the target LP. But i wonder why i didn't get an error message. But now it's weekend! I'm outta here.
Greetings Nils