Share via


ExchangeRate::importExchangeRate Method

Imports an exchange rate between the from currency and the accounting currency for the default exchange rate type.

Syntax

client server public static void importExchangeRate(
    CurrencyCode _fromCurrencyCode, 
    CurrencyCode _toCurrencyCode, 
    ExchangeRateTypeRecId _exchangeRateTypeRecId, 
    TransDate _exchangeRateDate, 
    CurrencyExchangeRate _exchangeRate, 
    boolean _insertExchangeRate, 
    boolean _updateExchangeRate)

Run On

Called

Parameters

  • _insertExchangeRate
    Type: boolean
    A Boolean value that determines whether to insert exchange rates.
  • _updateExchangeRate
    Type: boolean
    A Boolean value that determines whether to update exchange rates.

See Also

Reference

ExchangeRate Table