BankExchAdjPL.initBankAccountTrans Method [AX 2012]

Initializes the bank transaction buffer.

protected BankAccountTrans initBankAccountTrans(
    CompanyBankAccountId _accountId, 
    CurrencyCode _currencyCode, 
    AmountMSTExchAdjustment _exchAmount, 
    DimensionDefault _dimension, 
    LedgerVoucherObject _ledgerVoucherObject)

Run On

Server

Parameters

_accountId
Type: CompanyBankAccountId Extended Data Type
The bank account for the 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.
_dimension
Type: DimensionDefault Extended Data Type
The default dimension for the bank transaction.
_ledgerVoucherObject
Type: LedgerVoucherObject Class
The ledger voucher object that is created for transaction posting.

Return Value

Type: BankAccountTrans Table
The bank transaction buffer.

Community Additions

ADD
Show: