Last updated on MAY 18, 2015
Applies to:Oracle Fusion Lead Management Cloud Service - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Tried to create SalesLead through webservice Sales Lead Service Version 2 using operation createSalesLead , in which trying to associate a Product created previously using this payload sample :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/"
But getting error as "Constraint "MKL_LEAD_ITEMS_ASSOC_PK" is violated during post operation "Insert" using SQL statement " which means LeadProductId cannot be used here.
Tried creating using ProductGroupId alone, which was successful but that creates a new product entry in db, with a new LeadProductId. What is needed is to associate the SalesLead with a previous product during creation of salesLead only.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms