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?
 
 
  • MartinVargas Profile Picture
    10 on at
    Question about Released Status - Purchase Order
    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.
  • MartinVargas Profile Picture
    10 on at
    Question about Released Status - Purchase Order
    YUN ZHUquestion, and where would the IsTotalValid() function be called?
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,082 Super User 2025 Season 1 on at
    Question about Released Status - Purchase Order
    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?
  • Suggested answer
    YUN ZHU Profile Picture
    78,733 Super User 2025 Season 1 on at
    Question about Released Status - Purchase Order
    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans