TaxCalculation.new Method [AX 2012]

Creates a new instance of the TaxCalculation class.

public void new(
    Object _initializationClass, 
    boolean _useTaxUncommitted, 
    boolean _loadTaxUncommittedOnInit, 
    boolean _loadTaxTrans, 
   [boolean skipInit, 
    boolean _maintainExistingTaxUncommitted])

Run On

Server

Parameters

_initializationClass
Type: Object Class
The initialization class. The initialization class is a different class for each transaction that calculates tax.
_useTaxUncommitted
Type: boolean
A Boolean value that specifies whether to persist calculates taxes to the TaxUncommitted table.
_loadTaxUncommittedOnInit
Type: boolean
A Boolean value that specifies whether the TaxUncommitted records will be loaded into the Tax classes TmpTaxWorkTrans buffer. This enables many of the inquiry and adjustment methods on the Tax class to function correctly.
_loadTaxTrans
Type: boolean
skipInit
Type: boolean
_maintainExistingTaxUncommitted
Type: boolean

Community Additions

ADD
Show: