function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yespeeyespee 

No contact on lead conversion

Is there a way to avoid creation of contact by overriding lead convert functionality?

We want only an opportunity to be created upon conversion.

Thanks.

Message Edited by yespee on 01-26-2009 11:14 PM
mikefmikef

I beleive you have to use the getContactId() in the LeadConvertResult object.

Then have a process that deletes that contact.

From what I see in the docs there is no setDoNotCreateContact() method like the setDoNotCreateOpportunity() method.

I also checked the web services API docs and no such method there either.

Let the boards know if the delete contact logic works for you.

Message Edited by mikef on 01-27-2009 08:47 AM
Bárbara Mandy Bicalho GuimarãesBárbara Mandy Bicalho Guimarães
https://ideas.salesforce.com/s/idea/a0B8W00000J886nUAB/add-new-methods-to-leadconvert-setdonotcreatecontact