You need to sign in to do that
Don't have an account?
hgeorge
Counting original lead in Opportunity
Hi,
I am trying to display the total number of original leads in Opportunities. Is it possible to create a customer field in Opportunities that counts the total number of original leads for the opportunities (represented by a picklist filed in Lead object)?
Thanks in advance,
George
Business requirement is not very clear. Can you elaborate more?
My mistake, the question was about the Campaign object and not about Opportunity, Sorry...let me repeat again.
I have many leads for a campaign, each Lead has a custom field identifying the original campaign for which the lead is associated with. This is a picklist field that I have to enter the value (Campaign name) manually. Once I do this, I am able to see such original leads in the campaign. This is is subset of the total leads for the campaign.
Now I like to have a custom field in the Campaign object that prints the number of such original leads associated with the campaign object. I tried using the Formula & Rollup fields, but I could not find a way to count the original leads.
Thanks
George
I think, this can be achieved by writing a trigger. You can update the custom field (to count the original leads) whenever a new lead is created for the campaign.
Pradeep's correct - you'd need to use a trigger for this. Here's code very similar to what you'd need where it counts the # campaigns on Lead.
Instead, you can swap Campaign for Lead in the triggers and filter by your custom field to get a count of leads generated by a campaign.
We are looking for the same information as well.
I dont have admin access to look at the trigger. Can you pl. cut and paste it in the forum for me to get an understanding? I will then work with my admin to get it created/installed.
Thanks.