web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to cancel a purchase order using Logic Apps' REST API?

(0) ShareShare
ReportReport
Posted on by 5

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? 

  • André Arnaud de Calavon Profile Picture
    307,856 Super User 2026 Season 2 on at

    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.

  • Hana Xue Profile Picture
    Microsoft Employee on at

    Hi,

    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

  • Suggested answer
    jgfernandez80 Profile Picture
    5 on at

    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.

  • André Arnaud de Calavon Profile Picture
    307,856 Super User 2026 Season 2 on at

    Hi jgfernandez80,

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 320 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 210

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans