CustVendOutPaymRecord.convertAmountTransCurToAmountPaymCur Method [AX 2012]
Converts the specified amount from the currency of the open transaction to the currency of the payment.
Syntax
protected AmountCur convertAmountTransCurToAmountPaymCur(
LedgerJournalTrans _ledgerJournalTrans,
CustVendTrans _custVendTrans,
SpecTrans _specTrans,
AmountCur _amountTransCur)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The payment from which to get the final currency
- _custVendTrans
Type: CustVendTrans Map
The customer or vendor transaction from the open transaction for the transaction currency
- _specTrans
Type: SpecTrans Table
The specTrans related to the open transactions
- _amountTransCur
Type: AmountCur Extended Data Type
The amount to convert to the payment currency.
Return Value
Type: AmountCur Extended Data Type
The specified amount converted to the currency of the open transaction.