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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Question about Released Status - Purchase Order

(0) ShareShare
ReportReport
Posted on by 10
Hello community, I present my case to you. On the Purchase Orders page, when requesting approval and approving it, the Total Amount Incl. VAT is modified. I need to find the trigger or condition that updates this amount since I am altering it at the code level.
 
 
 
Normally, since the purchase order is disapproved, it should be shown with these calculations:
 
 
 
any ideas?
 
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at
    Hi, as far as I know, the following methods are mainly used, you can investigate in depth.
    table 38 "Purchase Header"
    page 54 "Purchase Order Subform"
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,766 Super User 2025 Season 2 on at
    Total is not the problem, seems the problem is from field IVA total (MXN). 
    So check why the IVA amount is changing - in Your example from 160 to 90. 

    I assume it is the VAT. So check if the original VAT Bus. and Prod. posting group in the line and VAT percentage, and check what are they after the approval. Do they change or stay the same?

    Also might be it is localization issue, so please let us know which localization You are using is it Mexico or something else?
  • MartinVargas Profile Picture
    10 on at
    YUN ZHUquestion, and where would the IsTotalValid() function be called?
  • MartinVargas Profile Picture
    10 on at
    KasparsSemjonovs Yes, just as I am altering the Total Amount based on the withholding (70) on the subtraction, the amount remains at 1090. The base calculates the VAT: 1090 - 1000 (which is the amount without VAT) so the VAT is 90.
     
    My doubt is that it recalculates the total amount when the purchase order is approved.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans