I need to create a purchase order based on a form that contains the boom lines, is there a process similar to this in AX where I can look to understand how it's done?
When I select the BOM lines from the form, a purchase order should be automatically created with these lines.
hi
look this
learn.microsoft.com/.../create-a-purchase-order
DAniele
I see there is create purchase order, is it customization? are you looking for the code how to create PO from BOM lines?
The button for creating a purchase order is added by me, and now I have to create my class that will be called by the button and that will create a purchase order from the lines that I will select from the form in the picture above.
you can reference the code references from the below link
community.dynamics.com/.../create-and-posting-purchase-order-through-x-in-ax-2012-dynamics-ax
in your logic ensure you are looping through all the bom lines and create separate PO lines
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 650 Super User 2025 Season 2
Martin Dráb 582 Most Valuable Professional
CU05031448-0 526