+ Start a Discussion
Ken0624700Ken0624700 

Lead Convert - existing or new account check

When a lead is converted, is it possible to find out, in an Apex trigger, whether the ConvertedAccountId is referecing to an existing Account or an Account created as a result of the conversion? Or in another word, can I find out whether a user selected an existing account or created a new account as part of the lead conversion process?

AdikAdik

Use Lead->Before Update Trigger and Check IsConverted Flag is Changed then Find the Related Account ID and determine 

Ken0624700Ken0624700
Perhaps I am missing something - I understand how to obtain the account from the converted lead, the question is how to determine whether the account was a new creation (as result from the conversion), or an account that exists before the conversion.