+ Start a Discussion
Ishan Singh 4Ishan Singh 4 

How can I get account Id on lead?

I have created formula field in which i used Account__r.Id but it is showing blank. 

 

Gary WGary W
Has the lead been converted? Look at the leads IsConverted field value. If it's true, you should be able to find the Account ID in the leads ConvertedAccountId field, unless the account has since been deleted.
AbhishekAbhishek (Salesforce Developers) 
If you need code examples follow the below discussion,

https://salesforce.stackexchange.com/questions/55396/how-to-access-account-id-from-leads-contact-field/55404


If it helps you and closes your query by marking it as solved so that it can help others in the future.

Thanks.