You need to sign in to do that
Don't have an account?

Custom object similar to Lead Functionality
Hello all,
I have a custom object 'Prospect' and want this to be similar to standard Lead object i.e., a convert button which converts prospect record to Account and Contact.
Just an FYI. This is a Force.com enterprise platform where CRM objects (Leads, Campaigns, Opportunities, etc.) are unavailable.
Thanks in advance,
VK
VK - it's probably cheaper just to upgrade to a CRM edition or you'll find yourself getting caught in the complexity of convert logic.
True lead convert does a lot of stuff:
- Mark lead flag IsConverted = True
- Either merge to existing account or create new account
- Either merge contact to existing contact or create new contact, and set parent Account
- Create opportunity, and set parent Account
- Reparent all campaign members
- Reparent all tasks, and set the whatId to the opportunity
Throw in complexity around triggers, workflow, recordtypes, merge, and you find a hairball of logic that is hard to custom code without inadvertently introducing a lot of bugs.
All Answers
You'd have to build it all by hand. You can't just "clone" a standard object.
Thanks for your reply sfdcfox.
Thanks,
VK
The other way would be for clone (or any thing similar to );
You have a clone button, and pass all the parameter's from the record you are in and then you will have to hit save button.
Please let me know,if this helped.
Hello NP,
Can explain your suggestion in a more elaborate way please?
Thank you,
VK
VK - it's probably cheaper just to upgrade to a CRM edition or you'll find yourself getting caught in the complexity of convert logic.
True lead convert does a lot of stuff:
- Mark lead flag IsConverted = True
- Either merge to existing account or create new account
- Either merge contact to existing contact or create new contact, and set parent Account
- Create opportunity, and set parent Account
- Reparent all campaign members
- Reparent all tasks, and set the whatId to the opportunity
Throw in complexity around triggers, workflow, recordtypes, merge, and you find a hairball of logic that is hard to custom code without inadvertently introducing a lot of bugs.
Hello jkucera,
Really appreciate puting this in a clear way.
I guess i need to upgrade to CRM.
Thanks again,
VK