Skip to main content

Notifications

Announcements

No record found.

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
    MartinVargas 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
    MartinVargas 10 on at
    Question about Released Status - Purchase Order
    YUN ZHUquestion, and where would the IsTotalValid() function be called?
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,973 Super User 2024 Season 2 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
    YUN ZHU 75,595 Super User 2024 Season 2 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans