Announcements
No record found.
Hi,
How do I cancel a purchase order in F&O using REST API? Provided that new app registration has already been set up. Can someone put a step-by-step guide?
Hi jgfernandez80,
Functionally, you can use the deliver remainder which sets the remaining quantity to receive to zero. I'm not sure if the standard data entities do support maintaining the fields on the purchase order. If so, you can update the line with remaining quantity set to zero, otherwise, you would need to extend the data entity or create a new one as a customization.
Here are the links about Azure logic apps rest API, you can view them.
Azure Logic Apps REST API | Microsoft Learn
Overview - Azure Logic Apps | Microsoft Learn
Best Regards,
Hana
Hi Andre,
As for extending the data entity or customization, are you referring of doing something like the link below?
How to Solve “update not allowed for field” Error with Data Entries in Dynamics 365 Finance and Operations | Stoneridge Software
If so, I guess I would just update the quantities instead of the PO status.
The blog you shared is one use case to extend a data entity. You can also add additional fields, virtual fields and coding. If you change the original order quantity, the status of the order will remain on open order with quantity 0. To get the canceled state, the remaining quantity needs to be set to 0.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 536 Most Valuable Professional
André Arnaud de Cal... 320 Super User 2026 Season 2
CU-1234529-002 210