Inccorrect Currency Being Set When Creating Account Using Rest API (Doc ID 2150726.1)

Last updated on DECEMBER 10, 2016

Applies to:

Oracle Fusion Sales - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

Goal

On : 11.1.10.0.0 version, Leads, Sales Campaigns

Using the following request payload to create an account via RESTful web service, the account was created with USD currency instead of the specified "GBP" currency, why?

Request Payload:
POST /crmCommonApi/resources/latest/accounts
 {
"OrganizationName": "Testree30",
"Type": "ZCA_CUSTOMER",
"Currency":{
"CurrencyCode": "GBP",
  "CorpCurrencyCode": "GBP"
},

"PrimaryAddress": [{
"AddressLine1": "Manyata",
"City": "Banglore",
"State": "KA",
"Country": "IN"
}]
}

Response Payload:
{
  "PartyId": #############,
  "PartyNumber": "######",
  "OrganizationName": "Testree30",
  "UniqueNameSuffix": null,
  :
  :
  :
  "CurrencyCode": "USD",
  "CorpCurrencyCode": "USD",
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms