IntrastatTransfer.getExchRate Method [AX 2012]
Gets exchange rates from the ExchangeRateType value.
Syntax
protected real getExchRate(
ExchangeRateType _exchangeRateType,
CurrencyCode _fromCurrency,
CurrencyCode _toCurrency,
TransDate _transDate)
Run On
Called
Parameters
- _exchangeRateType
Type: ExchangeRateType Table
The target ExchangeRateType value.
- _fromCurrency
Type: CurrencyCode Extended Data Type
The currency to convert from.
- _toCurrency
Type: CurrencyCode Extended Data Type
The currency to convert to.
- _transDate
Type: TransDate Extended Data Type
The transaction date.
Return Value
Type: real
The exchange rate based on given criteria.