You need to sign in to do that
Don't have an account?
Abhishek AS 3
batch apex class to sync contact email with account email
My requirement is that there is a email field on contact. i have created a custom email field on Account. I want to search all accounts that have a matching email with a contact and add that account to the contacts lookup account field. If no such account exists with the same email then create a new account and add that account under the contact.
try with below code.
If this helps, Please mark it as best answer.
Thanks!!