TaxReverse.adjustTaxTransDueToExchangeRateGainLoss Method [AX 2012]
Adjusts a TaxTrans record to reflect a gain or loss that is caused by different exchange rates on the payment.
Syntax
protected void adjustTaxTransDueToExchangeRateGainLoss(TaxTrans _originalTaxTrans, LedgerPostingController _ledgerPostingController)
Run On
Server
Parameters
- _originalTaxTrans
Type: TaxTrans Table
The original TaxTrans record that is being reversed.
- _ledgerPostingController
Type: LedgerPostingController Class
The ledger posting controller to use for ledger posting.
Remarks
This method is typically used in scenarios such as conditional tax when the payment exchange rates may be different from the invoice exchange rates that result in a gain or loss in accounting and reporting currency.