Purchase order Invoice posting through code if invoice level workflow enabled

Hi Friends,

Help me…

How to post purchase order through code, if invoice level workflow is enabled in finance and operations.

Thanks,

Kumar

Hi,

Please check this link to create and post the purchase order through X++.

https://community.dynamics.com/ax/b/iamaxpankaj/archive/2018/07/10/create-and-posting-purchase-order-through-x-in-ax-2012-dynamics-ax

For the Invoice level workflow enabled you have to do some customizations in the above code according to your requirements.

Regards,

John

Why do you want to post an invoice by breaking the workflow?