
Hello Team,
I need assistance with creating Movement Work by Template in Dynamics 365 FO (WMS) using X++. My goal is to:
I understand that WhsWorkCreate can be used, but I need a working X++ example that correctly initializes and creates work using a specific work template code.
Has anyone implemented this before or can provide sample code? Any insights on prerequisites (e.g., work templates, location directives) and best practices would also be appreciated.
Thanks in advance for your help!