Exchange Rate

The exchange rate object stores information about exchange rates for the currencies used by a company.

Usage

Administrators can create new exchange rates, update, or delete existing exchange rates, and query the exchange rate history for their company.

All fields are required when inserting new exchange rate records. For insert operations, the ToCurrencyCode value must be the company's default currency value.

Only the FromCurrencyCode, ToCurrencyCode, and ExchangeDate fields are required for update delete operations. However, these fields are not editable for an update operation.

The date value in the ExchangeDate field must be specified in the format: yyyy-mm-dd. For example, a value of 2011-10-12 specifies the date as 12th October 2011.

The ExchangeRateHistory child object can be queried to give the history of exchange rates for the company.

Methods Called

The following table details the methods called by the Exchange Rate service.

Table Methods Called by Exchange Rate Service

Method Name as Defined in Service

Delete

ExchangeRateDelete

Execute

ExchangeRateExecute

Insert

ExchangeRateInsert

QueryPage

ExchangeRateQueryPage

Update

ExchangeRateUpdate

Fields

The following table details the required and read-only fields for the exchange rate object.

Table Required and Read-Only Fields for the Exchange Rate Object

Field Name Type

FromCurrencyCode

Required

ToCurrencyCode

Required

ExchangeDate

Required

ExchangeRate

Required

The following table provides a list of the user key combinations for the exchange rate object.

Table User Key Fields on the Exchange Rate Object

User Key Field Combinations

FromCurrencyCode

ToCurrencyCode

ExchangeDate