Reply
Regular Contributor
JFraumeni
Posts: 15

Merging

Hello. I have a question about Contact merging. I was wondering how records with fields pointing to the deleted Contact were handled. Are they all automatically updated to point to the new Contacts? Are there cases where any of these records themselves get deleted or merged, and if so, what about other fields they reference/that reference them?
As far as I can tell, these are other Contacts, with their ReportsToId, Leads, with their ConvertedContactId field, Attatchments and Notes, with their ParentId field, Tasks and Events, with their WhoId field, and OpportunityContactRoles with their ContactId field.

Thanks, and sorry for the bother.


James Fraumeni
james.fraumeni@activeprime.com
Moderator
DevAngel
Posts: 3,214

Re: Merging

So, you can merge accounts from the salesforce.com ui.  The "child" records of the two accounts all become child records of the merged account.  No children are deleted.

As to cascading deletes, notes that are attached to a parent object get deleted when the parent gets deleted.  This is true for all child objects and should behave the same when using the api to delete.

Dave
Developer Evangelism
BLOG - blog.sforce.com

Follow me on twitter @dcarroll