The KampData TaxEngine calculates tax on sales and purchases using the Microsoft Dynamics GP Tax Detail and Tax Schedule along with supplemental tax setup information entered using DynamicZip.
The result is that you can use the KampData TaxEngine to calculate tax outside of Microsoft Dynamics GP with no additional tax setup required.
Call the DocCalculateTax method to calculate or re-calculate the tax. When this method is called, tax detail records will be created in the Transaction Tax table. When an order is created outside of Dynamics and subsequently imported into Dynamics, Tax Detail records should be created in the appropriate Dynamics transaction tax table. For SOP this table is the Sales Taxes Work And History table. The following tax detail data can be retrieved from the Transaction Tax table or by using the KampData TaxEngine methods and properties such as the following:
The document tax details can be retrieved as an ArrayList using the DocTaxDetails method. Alternately you can step through the tax details one by one using DocTaxDetail method. The number of tax details available to step through can be retrieved using the DocTaxDetailsCount method.