Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Event that recalculates the total amount when the status changes to released in the Purchase Order

Posted on by 10
Hello, when requesting an approval through a Power Automate flow on Purchase Orders, and approving it, the Total VAT Incl. is modified. I need to find the trigger or event that updates or recalculates this total since I am altering this quantity at the code level.
 
Normally, when you approve this purchase order, the amount is recalculated, leaving aside the process you carry out:
 
any ideas?
Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    Event that recalculates the total amount when the status changes to released in the Purchase Order
    If you are using the standard field on the purchase orders these are automatically updated when the lines in the purchase orders are changed.
    So there is not really a need to do anything then.
    If you have added your own fields you should also use flowfield for those fields so that you do not need to do anything other then updating your lines,
    The calcfields will handle the rest for you.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans