Issue With Default Value Not Picking Up The Language Dependent Value From Picklist

(Doc ID 2205744.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle CRM On Demand - Version 031CS and later
Information in this document applies to any platform.


 When attempting to create Sample Orders through REST API, the following occurs...

The application should populate fields on the Contact detail page

The application picks up the default value when the language is English but not when the language is Germany.

The customer cannot see the right behavior while using REST API.

By following these steps the issue can be reproduced:

The integration of application is done through REST API.

1. Create a Sample Order by selecting the Sample Items from the Contact related information section.

2. The sample orders get created by a REST API call which creates an order and puts in the selected sample items.

3. On the order, we have 2 fields, "Country" (ZText_32), and "Mr./Mrs." (ZText_70). They have default values (post default).
ZText_30 : IIf([<bUse_for_Sample_Order_ITAG>]='Y' or LookupName("CONTACT_TYPE", [<stContact_Type_ITAG>])= 'End User', JoinFieldValue('<Contact>', [<ContactId>], '<AlternateCountry>'), JoinFieldValue('<Contact>',[<ContactId>],'<PrimaryCountry>'))
ZText_70 : JoinFieldValue('<Contact>', [<ContactId>], '<MrMrs>')

These defuault value functions basically picks up the Country and Mr/Mrs from the related contact object.

4. The default value picks up the English name for the fields and not its language dependent value thereby causing the orders to fail. Example: The value for Germany country is Deutschland in german.


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