+ Start a Discussion

Upsert the Owner Id on a Custom Object Record

Hi All,


I have been trying to upsert Owner Id field on a custom object using SOAP UI. Facing some issue. Hope will find some advise here.... As always :D


I have tried upserting the data for Account Object via SOAP UI as follows:


         <urn:sObjects xsi:type="Account">
            <name>Str 3</name>
            <Address_Number__c>Str 14</Address_Number__c>


This did work and the Owner field got updated with user whose External  ID on user recrods matched the Value.


Where as when i am trying to do the same operation on the Custom object as follows i encountered an error :(


         <urn:sObjects xsi:type="Account_YTD_Summary__c">


Issue :


         <faultstring>INVALID_TYPE: Must send a concrete entity type.</faultstring>
            <sf:InvalidSObjectFault xsi:type="sf:InvalidSObjectFault">
               <sf:exceptionMessage>Must send a concrete entity type.</sf:exceptionMessage>

The Data Type for the Field Owner on Account was "Complex", but then on the custom object mentioned above it is "Name". The custom object has look up relation to Account.


Please let me know which way to approach.




- Sushupsi