Setting A Custom Field When Creating A Person Party Fails (Doc ID 1461421.1)

Last updated on AUGUST 30, 2016

Applies to:

Oracle Fusion Common CRM - Version 11.1.4.0.0 and later
Oracle Fusion Common CRM Cloud Service - Version 11.1.4.0.0 and later
Information in this document applies to any platform.

Goal

 While updating a custom attribute for OrganizationContact using the createsalesparty webservice, the following error is displayed:

===

"Attribute PartyRelationshipId in OrganizationContactEO is required."

===

Payload used is as shown below - the custom attribute EmployeeFlag_c is causing the issue

 

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/"
xmlns:typ="http://xmlns.oracle.com/apps/crmCommon/salesParties/salesPartiesService/types/" xmlns:sal="http://xmlns.oracle.com/apps/crmCommon/salesParties/salesPartiesService/" xmlns:org="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:con="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/" xmlns:con1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/contactPoint/" xmlns:org1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/organization/" xmlns:par1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/partySite/" xmlns:rel="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:org2="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/orgContact/" xmlns:rel1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/relationship/" xmlns:per="http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/" xmlns:per1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/person/">
<soapenv:Header/>
<soapenv:Body>
<typ:createSalesParty>
<typ:salesParty>
<sal:NamedAccountFlag>FALSE</sal:NamedAccountFlag>
<sal:ExistingFlag>FALSE</sal:ExistingFlag>
<sal:CreatedByModule>HZ_WS</sal:CreatedByModule>
<sal:PersonParty>
<per:CreatedByModule>HZ_WS</per:CreatedByModule>
<per:PersonProfile>
<per:PersonFirstName>Test</per:PersonFirstName>
<per:PersonLastName>Webservice</per:PersonLastName>
<per:DateOfBirth>2012-01-01T00:00:00</per:DateOfBirth>
<per:CreatedByModule>HZ_WS</per:CreatedByModule>
<per:OrigSystem>SEBL</per:OrigSystem>
<per:OrigSystemReference>dersss33ss3</per:OrigSystemReference>
</per:PersonProfile>
<per:Relationship>
<ns9:SubjectType>PERSON</ns9:SubjectType>
<ns9:SubjectTableName>HZ_PARTIES</ns9:SubjectTableName>
<ns9:ObjectId>300000000498114</ns9:ObjectId>
<ns9:ObjectType>ORGANIZATION</ns9:ObjectType>
<ns9:ObjectTableName>HZ_PARTIES</ns9:ObjectTableName>
<ns9:RelationshipCode>CONTACT_OF</ns9:RelationshipCode>
<ns9:RelationshipType>CONTACT</ns9:RelationshipType>
<ns9:CreatedByModule>HZ_WS</ns9:CreatedByModule>
<ns9:OrganizationContact>
<ns9:CreatedByModule>HZ_WS</ns9:CreatedByModule>
<ns9:EmployeeFlag_c>N</ns9:EmployeeFlag_c>
</ns9:OrganizationContact>
</per:Relationship>
</sal:PersonParty>
</typ:salesParty>
</typ:createSalesParty>
</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