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
sai.sfsai.sf 

Merge statement

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

 

According to above link we can only use Merge statement for accounts,contacts and leads.I need to merge custom object records.Any help?

 

Thanks

Andy BoettcherAndy Boettcher

You're right - only Accounts, Contacts, and Leads are supported.  You'd have to roll your own custom merge method.

sai.sfsai.sf

Thanks techman97,,

 

          Can you please help me for custom merge method.