30 answers
Hi Sarma,Add the below line of code in your existing code:lc.setDoNotCreateOpportunity(TRUE); after lc.setConvertedStatus(convertStatus.MasterLabel);This will not create an opportunity upon lead conversion.Let me know if it helps or you need more assistance.Thanks,Jainam Contractor,Salesforce Consultant,Varasi LLC,www.varasi.com