Share via


ExchangeRateHelper::construct Method [AX 2012]

Creates a new instance of the ExchangeRateHelper class that has default information.

Syntax

client server public static ExchangeRateHelper construct()

Run On

Called

Return Value

Type: ExchangeRateHelper Class
An instance of the ExchangeRateHelper class.

Remarks

The parmFromCurrency and parmToCurrency properties must be set before the code calls the instance methods.

If the parmToCurrency property is not set, the parmLedger property must be set in order to default the parmToCurrency property from the ledger.

Valid default values are applied to all other properties.

See Also

Reference

ExchangeRateHelper Class