+ Start a Discussion

how to populate contact mailing address to account's billing address and vice versa

Hi Everyone,

I have a requirement like have to auto-populate account's billing address to contact's mailing address when account is updated only if checkbox field is selected on contact.
Also, the same way have to auto-populate contact's mailing address to account's billing address.

please help me to achieve the above requirement.

Thanks in advance!!
SwethaSwetha (Salesforce Developers) 
HI Shreyanka,
You can write a trigger to achieve this.

See code in https://salesforce.stackexchange.com/questions/313018/how-to-update-account-address-to-contact-address-using-triggers that you can customize as required

If this information helps, please mark the answer as best. Thank you