I am pretty new to the APEX/Triggers so any help is appreciated;
I have a custom field on the Contact object called 'Email Domain'. I am adding new Contacts that don't have Account Name.
What I would like to do is, when the Email Domain on one Contact matches another, the Account Name should match as well.
For Example I have:
Account Name: Wayne Enterprise Email Domain: abcinc.com
IF Name: Peter Don Account Name: (blank) Email Domain: abcinc.com
Then for Contact Peter Don then Account Name = Wayne Enterprise.