IntrastatTransfer.calcAmountMSTByExchType Method [AX 2012]
Calculates amount based on the ExchangeRateType value.
Syntax
protected AmountMST calcAmountMSTByExchType(
ExchangeRateTypeName _exchangeRateTypeName,
AmountCur _amountCur,
CurrencyCode _transactionCurrencyCode,
TransDate _invoiceDate)
Run On
Called
Parameters
- _exchangeRateTypeName
Type: ExchangeRateTypeName Extended Data Type
A ExchangeRateType value with proper exchange rate defined.
- _amountCur
Type: AmountCur Extended Data Type
The source amount in currency.
- _transactionCurrencyCode
Type: CurrencyCode Extended Data Type
The currency code of source amount.
- _invoiceDate
Type: TransDate Extended Data Type
The invoice date of transaction.
Return Value
Type: AmountMST Extended Data Type
The amount in company currency, calculated via the provided ExchangeRateType value.