01-28-2014 07:49 AM - edited 01-28-2014 07:51 AM
Sry for that late response, but there where some other higher priority tickets in front of that problem.
public static void MergeContactStep_VisitCustomerMembers(IContact contact, Object mergeProvider, ref Boolean result) { IBusinessRuleHelperService service = new BusinessRuleHelper(); if(service == null) { result = false; return; } else { List<string> properties; properties.Add("ContactId"); List<string> updatePropValues; updatePropValues.Add(contact.Id.ToString()); List<string> entityIds; entityIds.Add(contact.Id.ToString()); result = service.UpdatePropertyForEntity("VisitCustomerMember", "ContactId", properties, updatePropValues, entityIds); } }
that's what I have now. What do I have to add to "properties", "updateProbValues", and "entityIds"?
VisitCustomerMember only hast the VisitCustomerMemberId, VisitId, ContactId and the default Properties. So in my opinion I only have to update the contactId with the new one.