TaxReverseTax.adjustTaxes Method [AX 2012]
Creates a new set of tax transactions, where the specified charge account and operations account are modified to be the new account numbers as defined in the approval journal. If the cost is split into more than one transaction, the tax transactions are split accordingly.
Syntax
public void adjustTaxes(
LedgerPostingController _ledgerPostingController,
Voucher _originalVoucher,
TransDate _originalTransDate,
LedgerJournalId _ledgerJournalId,
RefTableId _newTaxTransParentTableId,
RefRecId _newTaxTransParentRecId)
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
- _originalVoucher
Type: Voucher Extended Data Type
- _originalTransDate
Type: TransDate Extended Data Type
- _ledgerJournalId
Type: LedgerJournalId Extended Data Type
- _newTaxTransParentTableId
Type: RefTableId Extended Data Type
- _newTaxTransParentRecId
Type: RefRecId Extended Data Type