Oracle Web Services On Demand Guide > Oracle CRM On Demand Objects Accessible Through Web Services > Core Parent Objects (Web Services v2.0) >

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

Table 361 details the methods called by the Exchange Rate service.

Table 361. Methods Called by Exchange Rate Service
Method
Name as Defined in Service

Delete

ExchangeRateDelete

Execute

ExchangeRateExecute

Insert

ExchangeRateInsert

QueryPage

ExchangeRateQueryPage

Update

ExchangeRateUpdate

Fields

Table 362 details the required and read-only fields for the exchange rate object.

Table 362. Required and Read-Only Fields for the Exchange Rate Object
Field Name
Type

FromCurrencyCode

Required

ToCurrencyCode

Required

ExchangeDate

Required

ExchangeRate

Required

Table 363 provides a list of the user key combinations for the exchange rate object.

Table 363. User Key Fields on the Exchange Rate Object
User Key Field Combinations

FromCurrencyCode

ToCurrencyCode

ExchangeDate

Oracle Web Services On Demand Guide, Version 21.0 (Oracle CRM On Demand Release 33) Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.