Salesforce Platform Developer I (legacy) — Question 143
A company has been adding data to Salesforce and has not done a good job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together.
Which two statements are valid considerations when using merge? (Choose two.)
Answer options
- A. The merge method allows up to three records, including the master and two additional records with the same sObject type, to be merged into the master record.
- B. Merge is supported with accounts, contacts, cases, and leads.
- C. External ID fields can be used with the merge method.
- D. The field values on the master record are overwritten by the records being merged.
Correct answer: A, B
Explanation
Option A is correct because the merge method indeed allows a maximum of three records to be merged into one master record. Option B is also correct since merge functionality is applicable to accounts, contacts, cases, and leads. Options C and D are incorrect; external ID fields cannot be used with the merge method, and the field values on the master record are not simply overwritten by the merged records.