I am doing a lead conversion thorugh apex. When the lead is converted it should only create account and contact and should not create opportunity.
There are a few other items that i need to capture on the Lead conversion page. To do this i am having a new VF page to override the standard conversion page.
On the standard Lead conversion page we have checkbox to prevent the opportunities to get created. I need to incorporate the same functionality in VF page.
I could figure out on the standard conversion page if we add nooppti=1 to the url would check the checkbox for Do not create opportunity
/lead/leadconvert.jsp?id='someLeadid'&nooppti=1
Couldnt find anything on how to do it through apex. Any ideas?
Thanks