Share via


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

  • _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.

See Also

Reference

ExchangeRateCurrencyPair Table