You need to sign in to do that
Don't have an account?
madhu_ra
Populating Account record from Lead in an Account before insert trigger
Hi All,
There are lot of discussions on Lead conversion. I'd just need to know is there any possibility to track whether the Account is being created upon a Lead conversion and if collecting information of the lead inside an Account before insert trigger.
Lead to Account relation can be handled in a Lead trigger since convertedAccountId field is there. But is there any relevant field in Account object?
I'm trying to overcome a "duplicate unique field" issue and thinking handle this in Account before insert trigger.
There are lot of discussions on Lead conversion. I'd just need to know is there any possibility to track whether the Account is being created upon a Lead conversion and if collecting information of the lead inside an Account before insert trigger.
Lead to Account relation can be handled in a Lead trigger since convertedAccountId field is there. But is there any relevant field in Account object?
I'm trying to overcome a "duplicate unique field" issue and thinking handle this in Account before insert trigger.
1). If you need to detect Lead standard fields those fields can be accessed as described in here (http://help.salesforce.com/HTViewHelpDoc?id=lead_conversion_mapping.htm&language=en_US).
2). If you need to detect Lead custom fields you can use "Map custom Lead fields" as described in here.
Thanks,
Madhura