I have looked at the documentation on Database Methods. What I do not understand is, what happens when an upsert
is performed without specifying an external id field? Is it just based on whether or not the record has an Id
?
I have looked at the documentation on Database Methods. What I do not understand is, what happens when an upsert
is performed without specifying an external id field? Is it just based on whether or not the record has an Id
?
Best Answer
It just simply check if ID field is set then SFDC update the record orther wise it just insert record.
for ex:
Update:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_upsert.htm