Hi,
I want to calculate Sales Tax using X++ in the Sales Order form and then populate the appropriate fields in the database underneath. I have written the logic for the tax calculation part but am stuck at how to add the tax into the tables and show it in the Sales TAX TextBox on the sales form .
Can some body point me in the right direction.
0
Comments
You shouldn't be doing such complex things. Try calling calcLineAmountForced() method in salesLine table and it will take care of everything.
HTH,
Harish Mohanbabu
Long way to go before I sleep..
hope you will be able to do it.
Kumar 8)