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
Sumant KuchipudiSumant Kuchipudi 

Lead conversion mapping for Account quesion

Hi,
When we convert a lead, internally it creates Account with the Lead.Company name but I would like to create an Account based on the Lead last name provided on the Lead page not with the Company name. Looks like it is standard mapping but is there a way to change the mapping? or if not possible can we do a custom Lead conversion with the Custom button and apex code ?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Sumant,

If you want to populate the Lead Last name as Account name then you need to save the lead company name with Last name and convert.

If you dont want to save the lead company name with Lead Last Name then check the below link might help you by creating quick qction.

https://www.sfdcamplified.com/2020/03/custom-lead-conversion-in-lightning-web-component.html

Thanks!!

 
Sumant KuchipudiSumant Kuchipudi
Thank you Ankalah!
Would there be any custom Lightning component that woud convert the leads into Account/Contact.