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 "Amount Including VAT" of Historical Purchase Invoices

(1) ShareShare
ReportReport
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?
  • MartinVargas Profile Picture
    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
    85,883 Super User 2025 Season 1 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans