You need to sign in to do that
Don't have an account?
Aparna Hegde 1
Find the closest office based on account address
I would like to have a custom field/s on account that will hold the closest office(all offices address entered in custom object) from the account. Eg If an account's address is having Street A, Suburb B, Postcode C. Then the custom field on account should scan through the list of addresses in the custom object and return the closest. Will something like this help? https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_system_Address.htm
Thanks!
Thanks!