Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Question about "Amount Including VAT" of Historical Purchase Invoices

Posted on by 10
Hello community, I present my case to you. When registering a purchase order, and observing it in the sales invoice history, the amount including VAT is recalculated.
 
It should be noted that I am manipulating the Amount including VAT, as shown in the image:
 
 
However, when the purchase order is registered, the amount including VAT is displayed as follows in the purchase invoice history, that is, it is not taking the adjustment that I am making.
 
 
 
any ideas?
Categories:
  • MartinVargas Profile Picture
    MartinVargas 10 on at
    Question about "Amount Including VAT" of Historical Purchase Invoices
    Hi YUN ZHU. Indeed, in my code I affect it with the ":=" .
     
     
     
    So should the VAT be affected by the Statistics?
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    Question about "Amount Including VAT" of Historical Purchase Invoices
    How did you adjust? It seems that you did not use Record.Validate(Any [, Any]) Method in your code, but used ":=", so that only the value of this field will change, but this field is not the only one that affects the posted value when posting.
     
    In addition, the adjustment of taxes is not that simple. You need to modify the following lines.
     
    Hope this can give you some hints.
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans