ExchangeRateCurrencyPair::getExchangeRateDisplayFactor Method
Gets the exchange rate display factor for the provided exchange rate currency pair.
Syntax
client server public static ExchangeRateDisplayFactor getExchangeRateDisplayFactor(
CurrencyCode _fromCurrencyCode,
CurrencyCode _toCurrencyCode,
ExchangeRateTypeRecId _exchangeRateType,
boolean _getReciprocalIfPrimaryNotFound)
Run On
Called
Parameters
- _fromCurrencyCode
Type: CurrencyCode Extended Data Type
The from currency code.
- _toCurrencyCode
Type: CurrencyCode Extended Data Type
The to currency code.
- _exchangeRateType
Type: ExchangeRateTypeRecId Extended Data Type
The ID of the exchange rate type.
- _getReciprocalIfPrimaryNotFound
Type: boolean
Determines if the reciprocal exchange rate display factor should be retrieved when the primary exchange rate display factor is not found.
Return Value
Type: ExchangeRateDisplayFactor Enumeration
The exchange rate display factor for the provided exchange rate currency pair.
Remarks
It is best to use the ExchangeRateHelper class to retrieve exchange rate information since this method only deals with variable exchange rates and does not take Euro triangulation into account.