function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rkanrkan 

Master Detail Relationship in Enterprise WSDL

Hi,

 

I am trying to make a web service call by exposing Enterprise WSDL API Version 19.0.  I am trying to map "Person Account" standard obect to the custom object "Order" on custom feild "Customer" using a lookup on Account object. I am upserting a customer recored and corresponding order details. But when I make a SOAP call I get th efollowing error "Cannot specify both an external ID reference Customer__r ( lookup with Account) and a salesforce id, Customer__c (ID)" 

 

I dont know if I am reffering to the correct feild as I dont see any other relation in Salesforce. Please advice.

 

Thanks in advance.

Abhinav GuptaAbhinav Gupta

Hope you have generated WSDL, after creating the Sobjects/Fields. Can you share some code snippet of what you are trying to do. 

rkanrkan

Hi Abhinav,

 

Thanks for replying. My problem got solved. I passed the customer ID , was passing two parameter earlier actually  which was not correct also.

 

Thanks a lot :)

 

 

squekywheelsquekywheel

Could you respond as your question is solved by marking your response as a solution. Thx.