cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Contact in event before save

Former Member
0 Kudos

Good evening dear,

I am presenting the following error for the C4C environment It presents 3 events for Clients, and they are add, delete and add a contact. A customer can have 'n' contacts, which can be added, deleted and added. I am working with the standard client object and a z object, where it replicates these events, it should be noted that it is being generated in the "Before Save" and the error is in the "Delete" event, many times to eliminate a contact and in some occasions It does not eliminate. Try to make a debug to contacts that does not delete, but often does not even enter the debug. I attached some images explaining the step by step ...


1. .A contact exists (created recently)

2. .Contact creation message created correctly:

3. An existing contact is added:

4. A new contact is created

5. an existing contact is added

ELIMINATION OF CONTACT

1. Added contact elimination, not enter in the point budger and contact delete complete

2.Delete contac delete delete ok

3. Contact added previously ok

As can be seen, the process fails when a contact is deleted but it does not indicate which is the modified id as it appears in the alert message, I would appreciate it if any one could guide me or if any one has presented this problem. Thank you

Accepted Solutions (0)

Answers (0)