Share via


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

Return Value

Type: TaxAmount Extended Data Type
The calculated tax amount.

See Also

Reference

TaxReverseTax Class