Share via


TaxFiscalDocumentPostJob_BR.postTax Method [AX 2012]

Posts the taxes transactions and corresponding general ledger entries.

Syntax

protected void postTax([boolean post])

Run On

Called

Parameters

  • post
    Type: boolean
    A Boolean value that indicates whether the actual tax and ledger voucher transactions should be generated.
    false is passed if the pro forma document is being used.

Remarks

The ledger transaction for the ledger account associated with the tax is done by the FiscalDocumentCalcTax instance.

The ledger transaction for the liability/asset account configured in the customer/vendor posting profile is done by the postOffsetAccount() method, which is called at the end of this method.

See Also

Reference

TaxFiscalDocumentPostJob_BR Class