You need to sign in to do that
Don't have an account?

How to populate "ShippingAddress" same as 'BillingAddress' for Account object based on checkbox?
Hi Team,
In lightning "Account" object i want to create a checkbox field IsSameAsBillingAddress?.
If the checkbox is selected then "ShippingAddress" should be populated as 'BillingAddress'.
If unchecked then the "ShippingAddress" should be blank.
Out of current process builder and flow builder which one is an efficient way to do it?
Many Thanks in advance!
In lightning "Account" object i want to create a checkbox field IsSameAsBillingAddress?.
If the checkbox is selected then "ShippingAddress" should be populated as 'BillingAddress'.
If unchecked then the "ShippingAddress" should be blank.
Out of current process builder and flow builder which one is an efficient way to do it?
Many Thanks in advance!
Other than process builder, you can create workflow rules for this. You have to create 2 workflow rules for this :
1. To copy BillingAddress in ShippingAddress :
Field Updates: Total 5 field updates will be there, one for each shipping field (ShippingCity, ShippingCountry, ShippingState, ShippingStreet, ShippingPostalCode), Similar to the following one (It's for ShippingCountry) :
1. To update ShippingAddress with blank value:
Field Updates: Total 5 field updates will be there, one for each shipping field (ShippingCity, ShippingCountry, ShippingState, ShippingStreet, ShippingPostalCode), Similar to the following one (It's for ShippingCountry) :
Hope this will help you.
Thanks
You can try this code it is working according to your condition.
Component
I suggest to visit this link, it will help you
https://developer.salesforce.com/forums?id=9062I000000IJeEQAW
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.