function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manish Verma 4Manish Verma 4 

Lead no. on account and contact.

Hi friends,
There are two lookup fields (contact and account) on lead object. My requirement is: when user creates a lead, lead no. which is an autonumber field should be auto populated on respective contact and account records.
do i need to write a trigger for this? if is there any other solution pls suggest.

Thanks & regards
Manish Verma
 
meerameera
Please try using a process builder to update contact and account fields with corresponding contacts auto number. This is simple compared to trigger.
AshlekhAshlekh
Hi Manish,

Yes you can do this through Process builder and Trigger, but if some thing is easy by configuration step then we always choose the config step. Config steps are easy and can be change at any time and on prodcution.

-Thanks
Ashlekh Gera