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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Temporary sales tax transaction, actual sales tax amount

(0) ShareShare
ReportReport
Posted on by

Hi guys,

May I know in Sales Order under Sales tax form, there is column Actual sales tax amount. as in below picture: 

pastedimage1681649298915v1.png

may I know from where the value is ? anyone know from which class does it inserted or updated ? 

I'm sorry but my debug skill is limited, and can't find the correct place where the value being input/inserted.

Thanks a bunch

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi VoltesDev, I believe it's calculated fields in temporary table so not stored in any table. Please check this article, although it's for AX 2012 but probably still relevant for D365 F&O.

    daxture.blogspot.com/.../gsttax-at-sales-order-and-sales-line.html

  • VoltesDev Profile Picture
    on at

    Hi,

    Yes, but may I know where or which class calculate it ? I tried to debug, put some breakpoint in many places. table TaxTrans, TmpTaxWorkTrans, take a look at class TaxSales, etc, but could not find where exactly the value being calculated.

    I intend to make a simple modification on the calculation for the result value. Would be a great help if someone can guide me where to look.

    Thanks,

  • VoltesDev Profile Picture
    on at

    To more detail of the intention is actually similar as if we manually input Actual sales tax amount in Adjustment tab when we open Sell - Sales tax form : 

    pastedimage1681663962551v2.png

    So, I have an API which the source application already calculate the tax amount, and this amount is put into some staging table and my program should put the "calculated tax amount" in that staging table to the Actual sales tax amount field then, which also probably need to execute the "Apply actual tax amounts" button programmatically.

    Anyone can guide me for this purposes ? 

    Thanks,

  • Suggested answer
    VoltesDev Profile Picture
    on at

    Solved by using TaxRegulation classes to update Actual sales tax amount

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans