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

regarding about leads
Hi Experts ,
please tell me how to do this if possible a sample code.
All the rules related to lead conversion and if I wanted to convert lead and after converging lead only create to account. not contact ,how can i achive this ?
thanks in advance
Hi,
Below is the sample code as per your requirement.
Apex Trigger:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
All Answers
Hi aditya,
You have to write Apex Trigger on lead conversion means (After update) of Lead record.
In this trigger Get convertedcontactId and use DML (delete) operation to delete newly created contact.
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
Hi,
Below is the sample code as per your requirement.
Apex Trigger:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/
HI HItesh,
Thanks for the reply