TaxReverseTax.calcAndInsertTaxes Method [AX 2012]
Runs through the transactions in the TaxTrans table in order to calculate the tax, and inserts transactions in the TmpTaxWorkTrans table.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public TaxAmount calcAndInsertTaxes(Voucher _originalvoucher, TransDate _originalTransDate)
Microsoft Dynamics AX 2012 R2 (SYS)
protected TaxAmount calcAndInsertTaxes(Voucher _originalvoucher, TransDate _originalTransDate)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected TaxAmount calcAndInsertTaxes(Voucher _originalvoucher, TransDate _originalTransDate)
Microsoft Dynamics AX 2012 (FPK)
protected TaxAmount calcAndInsertTaxes(Voucher _originalvoucher, TransDate _originalTransDate)
Microsoft Dynamics AX 2012 (SYS)
protected TaxAmount calcAndInsertTaxes(Voucher _originalvoucher, TransDate _originalTransDate)
Run On
Server
Parameters
- _originalvoucher
Type: Voucher Extended Data Type
- _originalTransDate
Type: TransDate Extended Data Type
Return Value
Type: TaxAmount Extended Data Type
The calculated tax amount.