Share via


ExchangeRateHelper::getExchangeRate1_Static Method [AX 2012]

Retrieves an exchange rate that is based on the specified parameters.

Syntax

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

Run On

Called

Parameters

Return Value

Type: ExchRate Extended Data Type
An exchange rate that is based on the specified information; otherwise, an error.

Remarks

Both the getExchangeRate1_Static and getExchangeRate2_Static methods have to be considered when the system is retrieving the exchange rate information. When the Euro triangulation is being used, the exchange rates will contain various combinations of fixed and variable exchange rates.

See Also

Reference

ExchangeRateHelper Class