You need to sign in to do that
Don't have an account?

"Contacts tied to Donations cannot be deleted." when trying to merge Contacts
Hello,
I'm writing a small app, that will bulk merge contacts, using partner WSDL.
Here is code that i'm using:
private SObject createSObject(String ID,String type) { SObject result = new SObject(); result.setType(type); result.setId(ID); return result; } private void merge(String MasterID,String type, String ChildID) { connection = Auth.getConnection(); MergeRequest mReq = new MergeRequest(); mReq.setMasterRecord(createSObject(MasterID, type)); mReq.setRecordToMergeIds(new String[] { ChildID }); MergeRequest[] mergeBatch = new MergeRequest[1]; mergeBatch[0] = mReq; MergeResult[] mRes = connection.merge(mergeBatch) }
When i'm trying to merge two contacts, and child has a donation, i get an error:
"Contacts tied to Donations cannot be deleted."
Isn't it suppose to remap donations also?
Thanks
Did you ever figure this one out? I just ran into the same problem.