Share via


ExchangeRateHelper.displayStoredExchangeRate Method [AX 2012]

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

Syntax

public CurrencyExchangeRate displayStoredExchangeRate(CurrencyExchangeRate _storedExchangeRate)

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 be displayed to the user after they are retrieved from the database. It should be called before it displays any exchange rate on a form.

See Also

Reference

ExchangeRateHelper Class