Share via


ExchangeRateHelper.getCrossRate Method [AX 2012]

Retrieves a direct cross rate between the from currency and to currency that factors in triangulation.

Syntax

public ExchRate getCrossRate()

Run On

Called

Return Value

Type: ExchRate Extended Data Type
A direct cross rate that factors in triangulation.

Remarks

This method takes the result from the getExchangeRate2 method, divides it by the result from the getExchangeRate1 method, and multiplies it by 100. The result represents the triangulated exchange rate in a 100 based ratio. The result applies when Euro triangulation is in effect for a currency on a given date. If Euro triangulation is not in effect, the result of the getExchangeRate1 method will be returned.

See Also

Reference

ExchangeRateHelper Class