ExchangeRateHelper::getCrossRateReciprocal_Static Method [AX 2012]
Retrieves a triangulated exchange rate for translating monetary standard (MST) currency to a currency.
Syntax
client server public static ExchRate getCrossRateReciprocal_Static(
LedgerRecId _ledger,
CurrencyCode _fromCurrency,
TransDate _exchangeDate)
Run On
Called
Parameters
- _ledger
Type: LedgerRecId Extended Data Type
The ledger context that is used for retrieving exchange rate information.
- _fromCurrency
Type: CurrencyCode Extended Data Type
The currency that is used for retrieving exchange rate information.
- _exchangeDate
Type: TransDate Extended Data Type
The exchange rate date that is used for retrieving exchange rate information.
Return Value
Type: ExchRate Extended Data Type
A triangulated exchange rate.
Remarks
This method takes the result from the getExchRate method, divides it by the result from getExchRateSecond method, and multiplies it by 100. The result represents the triangulated exchange rate in a 100 based ratio. The result applies only when the Euro triangulation is in effect for a currency on a given date. If the Euro triangulation is not in effect, the result of the getExchRate method will be returned.