How to Convert Lead to Account with the same name. So the name of Account will be the same of the Lead. Thank you
Convert Lead to Account with the same name
Collapse
X
-
If when creating a Lead, you usually fill in firstName, then you can add the following code to /custom/Espo/Custom/Resources/metadata/entityDefs/Lead.json:
Code:"convertFields": { "Account": { "name": "firstName" } }
Code:"convertFields": { "Account": { "name": "lastName" } }
- Refresh your Lead page and try converting. Depending on the code option you selected, you will automatically have the firstName or lastName value substituted into the name field of the created Account (screenshot 2).Comment
Comment