Notifications
Announcements
No record found.
Hi guys,
May I know in Sales Order under Sales tax form, there is column Actual sales tax amount. as in below picture:
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
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
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,
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 :
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 ?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional