TaxReverseTax.calcAndPost Method [AX 2012]
Calls the calcAndInsertTaxes method and then the saveAndPost method.
Syntax
public AmountCur calcAndPost(
LedgerPostingController _ledgerPostingController,
Voucher _originalVoucher,
TransDate _originalTransDate,
[boolean _postTaxes])
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
- _originalVoucher
Type: Voucher Extended Data Type
- _originalTransDate
Type: TransDate Extended Data Type
- _postTaxes
Type: boolean
Return Value
Type: AmountCur Extended Data Type
The TaxAmount calculated in the CalcAndInsertTaxes method.