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
- _fromCurrencyCode
Type: CurrencyCode Extended Data Type
The from currency.
- _toCurrencyCode
Type: CurrencyCode Extended Data Type
The to currency.
- _exchangeRateTypeRecId
Type: ExchangeRateTypeRecId Extended Data Type
The exchange rate type ID.
- _exchangeRateDate
Type: TransDate Extended Data Type
The exchange rate date.
- _exchangeRate
Type: CurrencyExchangeRate Extended Data Type
The exchange rate.
- _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.