Share via


ExchangeRateHelper::displayStoredExchangeRate_Static Method [AX 2012]

Retrieves an exchange rate that can be displayed to the user.

Syntax

client server public static CurrencyExchangeRate displayStoredExchangeRate_Static(CurrencyExchangeRate _storedExchangeRate, ExchangeRateDisplayFactor _exchangeRateDisplayFactor)

Run On

Called

Parameters

Return Value

Type: CurrencyExchangeRate Extended Data Type
An exchange rate that can be displayed to the user.

Remarks

After users enter exchange rates, they are multiplied by 100 and divided by the exchange rate display factor specified on the ExchangeRateCurrencyPair table, before they are finally stored in the database. This method applies the necessary factor to rates that have been stored in this manner, so that they can be correctly displayed to the user after they are retrieved from the database. It can be called before it displays any exchange rate on a form.

See Also

Reference

ExchangeRateHelper Class