Hello everyone,
As the title suggests, I'm looking for a way to replicate/automate 'this task' in code.
The task is to transfer/move inventory on-hand without using transfer journal. I know how to do this from the 'work process' menu.
The standard process is to open this form (Warehouse Management -> Common -> Work Process (login) -> Transfer Stock).
You can see the process in a more detail way on this link : blogs.msdn.microsoft.com/.../inventory-on-hand-movementstransfers-using-the-mobile-device-menus
I find that this form is opened by WhsWorkExecuteForm class. But I can't find the logic to do the transfer on WhsWorkExecuteForm class. I put breakpoint on the similar class like WhsWorkExecute, but the system never catches my breakpoint. Could someone please enlighten me coz I have been banging my head against the wall.
I have a feeling that WhsWorkExecute.createMovementWorkInventTrans can be used to this. but it accept WhsWorkId from WhsWorkTable and I'm not sure how to insert WhsWorkTable the 'ax' way.
Thanks in advance.
*This post is locked for comments
I have the same question (0)


Report
All responses (
Answers (