Share via


ExchangeRateHelper.getExchangeRate2 Method [AX 2012]

Retrieves an exchange rate that is used in the second half of a Euro triangulation calculation.

Syntax

public CurrencyExchangeRate getExchangeRate2()

Run On

Called

Return Value

Type: CurrencyExchangeRate Extended Data Type
An exchange rate that is used in the second half of a Euro triangulation calculation; otherwise, zero.

Remarks

Both the getExchangeRate1 and getExchangeRate2 methods have to be considered when the system is retrieving exchange rate information. When Euro triangulation is being used, the exchange rates will contain various combinations of fixed and variable exchange rates.

This exchange rate only applies when Euro triangulation is in effect for a currency on a given date.

If Euro triangulation is not in effect, a value of zero will be returned. If Euro triangulation is in effect but a second exchange rate cannot be found, the appropriate error will be returned based on the value of the parmErrorType property.

See Also

Reference

ExchangeRateHelper Class