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.
Method | Name as Defined in Service |
---|---|
ExchangeRateDelete |
|
ExchangeRateExecute |
|
ExchangeRateInsert |
|
ExchangeRateQueryPage |
|
ExchangeRateUpdate |
Fields
The following table details the 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.
User Key Field Combinations |
---|
FromCurrencyCode |
ToCurrencyCode |
ExchangeDate |