Share via


ExchangeRateHelper::newCurrencyToCurrency Method [AX 2012]

Creates an instance of the ExchangeRateHelper class.

Syntax

client server public static ExchangeRateHelper newCurrencyToCurrency(CurrencyCode _fromCurrency, CurrencyCode _toCurrency)

Run On

Called

Parameters

Return Value

Type: ExchangeRateHelper Class
An instance of the ExchangeRateHelper class.

Remarks

The resulting instance has valid default values and is ready for use. Use this constructor when the system is retrieving exchange rate information outside the context of a specific ledger.

See Also

Reference

ExchangeRateHelper Class