web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Tax calculation on a work order before posting

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
Base on a specific requirement, I have to calculate the tax on a work order. This means posted, unposted lines and sometimes some legal entity apply a tax on tax but I cannot figure out how to apply a tax based on setup first. The tax engine hasn't been helpful or maybe I haven't used it well. Can someone help with this issue?
 
Thank you.
Categories:
I have the same question (0)
  • Suggested answer
    SamikK Profile Picture
    90 on at
    Work Orders don’t trigger the tax engine automatically before posting, so you won’t get correct tax just from setup. To calculate tax on unposted lines, you need to explicitly call the tax engine in code (using the standard tax classes like TaxCalculation / Tax::calcTaxAmount) with the correct context (tax groups, legal entity, date). That’s what applies things like tax-on-tax as well.

    In practice, this is usually done via customization, calculate tax on demand and write it back to the Work Order lines before posting.
  • DB-09090631-0 Profile Picture
    2 on at
    In my case the Tax::calcTaxAmount hasn't worked.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 107

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans