List<Account> accList = [SELECT name FROM Account LIMIT 3];
Account a = accList;
Account b = accList;
Account c = accList;
List<Account> mergeList = new List<Account>();
merge a b; // for 2 records
merge a mergeList; // for 3 records
Note: Merge only works with Accounts, Leads and Contacts.
Note: You can merge 3 records at a time not more than that.
Different Merging Combinations:
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Fill the form below to get a demo of this course.
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.