LedgerJournalEngine.initCurrencyFromCustVendTable Method [AX 2012]
Initializes the currency field of the line based on the customer or vendor currency.
Syntax
protected void initCurrencyFromCustVendTable(LedgerJournalTrans _ledgerJournalTrans, CurrencyCode _custVendCurrency)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
A LedgerJournalTrans record buffer.
- _custVendCurrency
Type: CurrencyCode Extended Data Type
The currency of the customer or vendor.
Remarks
If the customer or vendor currency does not exist a warning message is added to the Infolog.