Announcements
No record found.
Hi experts,
I have a need to create Product receipts from Purchase Orders,
I researched and take reference by this code Create Purchase Orders - Confirm - Product receipt - Post PO using X++ - Dynamics 365 Finance, SCM Archive (nuxulu.com).
This code works fine and create 4 product receipts in a row.
But when I use this code to post 2 receipts, for example I have 2 POs 00001 and 00002,
This code post PO 00001 successfully but when it post PO 00002, the warning "Posting of order 00001 canceled" raised.
How can I troubleshoot this issue ?
Thanks in advanced
Hi Nguyen,
you can troubleshoot it by debugging.
Hi Nikolaos, I tried debugging but It throw the eror at the purchformletter.update(). it does not help much
I saw the previous thread below:
Posting a Product Receipt with Item Registration through code Dynamics 365 Finance and Operations X++
https://community.dynam
ics.com/ax/b/shabibax/posts/posting-a-product-receipt-with-item-registration-through-code-dynamics-365-finance-and-operations-x
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 617
André Arnaud de Cal... 461 Super User 2026 Season 1
Syed Haris Shah 298 Super User 2026 Season 1