Skip to main content

Notifications

Announcements

No record found.

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

Doubt when changing released status in the Purchase Order

(0) ShareShare
ReportReport
Posted on by 10
Hello community, I present my case to you. When requesting an approval for the Purchase Orders, and approving it, the Total VAT Incl. is modified. I need to find the trigger or condition that updates this amount since I am altering this amount at the code level.
 
 
Normally, when you approve this purchase order, the amount is recalculated, leaving aside the process you carry out:
 
 
 
I was working on the purchase line table extension replicating this UpdateVATAmountsForReleasedDocument procedure UpdateAmountVAT():
 
 
 
 
any ideas?
Categories:
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,941 Super User 2024 Season 2 on at
    Doubt when changing released status in the Purchase Order
    Do You have any other combination that gives 9% VAT? Could be that after the update, the wrong VAT % (from another group) is assigned to the line? If so - You can try to find - how system is getting that combination.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans