RCashExchAdjPL.initCashTrans Method [AX 2012]
Initializes the cash transaction buffer.
Syntax
protected RCashTrans initCashTrans(
RCashAccount _accountNum,
TransDate _toDate,
CurrencyCode _currencyCode,
AmountMSTExchAdjustment _exchAmount,
DimensionDefault _defaultDimension,
LedgerVoucherObject _ledgerVoucherObject,
LedgerDimensionDefaultAccount _defaultAccount,
LedgerDimensionDefaultAccount _offsetDefaultAccount,
boolean _isReportingExchAdj)
Run On
Server
Parameters
- _accountNum
Type: RCashAccount Extended Data Type
The cash account for the exchange adjustment.
- _toDate
Type: TransDate Extended Data Type
The date before which the transactions should be considered for exchange adjustment.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code for the exchange adjustment.
- _exchAmount
Type: AmountMSTExchAdjustment Extended Data Type
The calculated exchange amount.
- _defaultDimension
Type: DimensionDefault Extended Data Type
The default dimension for the cash transaction.
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The ledger voucher object that is created for transaction posting.
- _defaultAccount
Type: LedgerDimensionDefaultAccount Extended Data Type
The default account from the ledger journal.
- _offsetDefaultAccount
Type: LedgerDimensionDefaultAccount Extended Data Type
The offset account from the ledger journal.
- _isReportingExchAdj
Type: boolean
The exchange adjustment reporting flag.
Return Value
Type: RCashTrans Table
The cash transaction buffer.