Share via


ExchangeRateHelper::newExchangeDate Method [AX 2012]

Creates an instance of the ExchangeRateHelper class.

Syntax

client server public static ExchangeRateHelper newExchangeDate(
    LedgerRecId _ledger, 
    CurrencyCode _fromCurrency, 
    TransDate _exchangeDate)

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. The parmToCurrency and parmExchangeRateType properties will be defaulted from the ledger that is provided.

See Also

Reference

ExchangeRateHelper Class