ExchangeRateHelper::MCRGetExchangeRate Method [AX 2012]
Gets the exchange rate for the passed currencies.
Syntax
client server public static ExchRate MCRGetExchangeRate(
CurrencyCode fromCurrency,
CurrencyCode toCurrency,
TransDate transDate)
Run On
Called
Parameters
- fromCurrency
Type: CurrencyCode Extended Data Type
The from currency for which this method calculates the exchange rate.
- toCurrency
Type: CurrencyCode Extended Data Type
The to currency for which this method calculates the exchange rate.
- transDate
Type: TransDate Extended Data Type
The transaction date of the exchange rate calculation.
Return Value
Type: ExchRate Extended Data Type
The exchange rate between the from currency and the to currency on the transaction date.