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
bavanabavana 

How can we find out the data entered through upsert is either updated or inserted using external ids

Navatar_DbSupNavatar_DbSup

Hi,

 

isCreated() property of upsert result will give the privelege if the records is inserted else updated.Please go through the below link:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dml_upsert.htm

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.