You need to sign in to do that
Don't have an account?
Sandeep Reddy 288
Write an apex program, to Synchronize the Accounts Data into the associated Contact Records automatically based on the Account Name
Write an apex program, to Synchronize the Accounts Data into the associated
Contact Records automatically based on the Account Name, as below.
Acocunt Field Copied to Contact
------------------------------------------
Account:Phone ---> Contact:Phone
Account:Fax ---> Contact:Fax
Account:BillingStreet ---> Contact:MailingStreet
Account:BillingCity ---> Contact:MailingCity
Account:BillingState ---> Contact:MailingState
Account:BillingPostalCode ---> Contact:MailingPostalCode
Account:BillingCountry ---> Contact:MailingCountry
Contact Records automatically based on the Account Name, as below.
Acocunt Field Copied to Contact
------------------------------------------
Account:Phone ---> Contact:Phone
Account:Fax ---> Contact:Fax
Account:BillingStreet ---> Contact:MailingStreet
Account:BillingCity ---> Contact:MailingCity
Account:BillingState ---> Contact:MailingState
Account:BillingPostalCode ---> Contact:MailingPostalCode
Account:BillingCountry ---> Contact:MailingCountry
try with below code.
apex class:
anonymus window run the below
If this helps, Please mark it as best answer.
Thanks!!