Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Sales Party using SalesPartyService SOAP API

4016599Jun 21 2019 — edited Jun 21 2019

Hi,

I am trying to import Account Receivable Customers from a CRM system into Oracle ERP. I am wanting to do this using Oracle Web services so we can update oracle when the CRM is updated rather than updating nightly.

I am new to Oracle development and finding the API quite confusing and there seems to be a real lack of examples about. I am assuming that I should be using the CreateSalesParty call on the SalesPartyService.

I am using SoapUI to test with the following envelope but when I run the request it comes back with a 200, but nothing is visible/searchable through the Oracle front end.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
<soap:Header></soap:Header>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/apps/crmCommon/salesParties/salesPartiesService/types/"> 
  <ns1:createSalesParty> 
   <ns1:salesParty xmlns:ns2="http://xmlns.oracle.com/apps/crmCommon/salesParties/salesPartiesService/"> 
    <ns2:NamedAccountFlag>false</ns2:NamedAccountFlag> 
    <ns2:ExistingFlag>false</ns2:ExistingFlag> 
    <ns2:SalesAccount>
     <ns2:PartyUniqueName>API TEST</ns2:PartyUniqueName> 
     <ns2:ExistingFlag>false</ns2:ExistingFlag> 
     <ns2:NamedAccountFlag>false</ns2:NamedAccountFlag> 
    </ns2:SalesAccount> 
   </ns1:salesParty> 
  </ns1:createSalesParty> 
</soap:Body> 

</soap:Envelope>

I am assuming that the reason for this is that I am not specifying all required fields, but I cannot work out what the require fields are, or any documentation on this. Has anyone else had this problem?

Thanks

Comments
Post Details
Added on Jun 21 2019
0 comments
621 views