Share via


Tax.postCharge Method [AX 2012]

Posts the sales tax charge.

Syntax

public void postCharge(
    LedgerPostingController _ledgerPostingController, 
    TaxTrans _taxTrans, 
    TaxAmountCur _chargeAmount, 
    CurrencyExchangeHelper _exchRateHelper, 
    LedgerDimensionAccount _transactionLineAccount)

Run On

Server

Parameters

  • _taxTrans
    Type: TaxTrans Table
    The TaxTrans record that holds the amount to post.

Remarks

This functionality was originally a part of the Post method, but was made into a separate method because most of the callers of the Post method do not need this.

See Also

Reference

Tax Class