Share via


ExchangeRateHelper::getCrossRate_Static Method [AX 2012]

Retrieves a triangulated exchange rate for translating the specified currency to monetary standard (MST) currency.

Syntax

client server public static ExchRate getCrossRate_Static(
    LedgerRecId _ledger, 
    CurrencyCode _fromCurrency, 
    TransDate _exchangeDate)

Run On

Called

Parameters

Return Value

Type: ExchRate Extended Data Type
A triangulated exchange rate.

Remarks

This method takes the result from the getExchRateSecond method, divides it by the result from getExchRate 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.

See Also

Reference

ExchangeRateHelper Class