RCashExchAdj.calcAndPostCurrency Method [AX 2012]
Calculates and posts exchange adjustments of cash transactions.
Syntax
protected container calcAndPostCurrency(
RCashAccount _accountNum,
TransDate _toDate,
CurrencyCode _currencyCode,
LedgerVoucher _ledgerVoucher,
Voucher _voucher)
Run On
Server
Parameters
- _accountNum
Type: RCashAccount Extended Data Type
The cash account number.
- _toDate
Type: TransDate Extended Data Type
The transaction date.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher object.
- _voucher
Type: Voucher Extended Data Type
The ledger voucher value.
Return Value
Type: container
A container that holds exchange adjustment amounts in the accounting and reporting currencies.