You need to sign in to do that
Don't have an account?
Stancioiu Stefan 1
Hi guys. Anybody help me to write this trigger? I'm new on salesforce
1. Create a custom field on the Contact object: Is Primary Contact (checkbox)
2. Create a custom field on the Contact object: Primary Contact Phone (Phone);
3. A validation should be added so that if the Account already has a Primary Contact set a new one cannot be added;
4. When a contact is set as primary, the Primary Contact Phone should be updated to all Contacts related to the same account. This should be an asynchronous process. Make sure that if one Contact update fails, it doesn’t rollback the changes for the others.
2. Create a custom field on the Contact object: Primary Contact Phone (Phone);
3. A validation should be added so that if the Account already has a Primary Contact set a new one cannot be added;
4. When a contact is set as primary, the Primary Contact Phone should be updated to all Contacts related to the same account. This should be an asynchronous process. Make sure that if one Contact update fails, it doesn’t rollback the changes for the others.
Please find your reuiqred beow: Please let me know if you have any concern.
Thanks,
Abhishek Bansal
All Answers
Please find your reuiqred beow: Please let me know if you have any concern.
Thanks,
Abhishek Bansal