Calculating Sales TAX using X++

gurleengurleen Member Posts: 39
edited 2006-01-18 in Dynamics AX
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.

Comments

  • HarishHarish Member Posts: 172
    Hi,

    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
    Harish Mohanbabu
    Long way to go before I sleep..
  • kgauravkgaurav Member Posts: 32
    The complete logic to calcultae sales tax is already implemented in sales totals class. You try to locate it there. With little exploring you will get the solution.

    hope you will be able to do it.

    Kumar 8)
Sign In or Register to comment.