Not Able To Create Opportunity Using Rest Web Services
(Doc ID 2480552.1)
Last updated on MARCH 19, 2019
Applies to:Oracle Fusion Sales Cloud Service - Version 11.13.18.05.0 and later
Information in this document applies to any platform.
On : 11.13.18.05.0 version, Opportunities
Not able to create Opportunity using rest web services
If we create opportunity from REST api with the ‘LegalEntity_c’ ‘Abt Associates’ and any Division_c values, we are getting 400 Bad Request error 'Attribute Division_c in OpportunityEO is required.'
Creating Opportunity using REST web services is throwing error 'Attribute Division_c in OpportunityEO is required.'
Division_c (column name:EXTN_ATTRIBUTE_CHAR020)is custom fixed choice list which depends on 'LegalEntity_c'(column name:EXTN_ATTRIBUTE_CHAR021) which is another fixed choice list.
We have written
Constraints rule (for Required condition) on Division_c which is as below
if(LegalEntity_c == "Abt Associates")
Expected behavior is if we select the 'LegalEntity_c' -"Abt Associates" then field Division_c is mandatory.
But when we try to create webservice with legal entity "Abt Associates" and correct Division_c ,OSC is failing to recognize Division _C and throwing error "Attribute Division_c in OpportunityEO is required".
Creating Opportunity via REST service works fine when we set dependency of Divison_c from LegalEnity_c to 'ContractVehicleType_c' (having column name 'EXTN_ATTRIBUTE_CHAR019').
"Attribute Division_c in OpportunityEO is required"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document