You need to sign in to do that
Don't have an account?
uma52551.3972270309784705E12
Populate County field on the Lead object from the zip code
Hi All,
I am havinf a custom object that contains zipcodes and I have created a county name custom field in the Lead Object now I want to write a trigger to update the county name field of the lead object by looking into the zipcodes in my custom object. Please help me how to wrtie trigger and test class for this...
Thanks in advance..
I am havinf a custom object that contains zipcodes and I have created a county name custom field in the Lead Object now I want to write a trigger to update the county name field of the lead object by looking into the zipcodes in my custom object. Please help me how to wrtie trigger and test class for this...
Thanks in advance..
All Answers
So, user will be entering the zip code in the lead Object from where you will choose the correct country code and populate on the Lead object..right?
Could you please elaborate on the flow..a bit confusing.
We have built a free app that updates the County based on the value of the zip code on the Lead (it also includes a solution for Accounts and Contacts). Here is a link to the blog article that describes the steps on how to configure the app and also contains a link to the package to install in your sandbox: https://bluninjas.com/update-county-based-on-postal-code/