How To Create Records In Custom Related Object Using Soap Web Services That Will Appear in the Subtab of the Target Object

(Doc ID 2196433.1)

Last updated on OCTOBER 24, 2016

Applies to:

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

Goal

Here I have one custom object under sales Application and for that custom object I have one related object. I want to create records in the related object using soap web services.

I have WSDL for custom objects. And I am able to create records in custom object. But I want to create records in the related object.

Below is the WSDL for custom objects under sales Application.

Service WSDL URL : https://(CRMDomain,Sales)/opptyMgmtExtensibility/SalesCustomObjectService?WSDL

Scenario is suppose in custom Object I have one record. So for that record I want to create related object records.

Below is the payload to create custom object records.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/sales/custExtn/extnService/types/">
<soapenv:Header/>
<soapenv:Body>
<typ:createEntity>
<typ:object xsi:type="ns1:IncidentObject_c" xmlns:ns1="/oracle/apps/sales/custExtn/views/common/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:RecordName>011</ns1:RecordName>
<ns1:Subjct_c>KC</ns1:Subjct_c>
<ns1:Status_c>Unresolved</ns1:Status_c>
</typ:object>
<typ:objectName>IncidentObject_c</typ:objectName>
</typ:createEntity>
</soapenv:Body>
</soapenv:Envelope>
  

 

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