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
ElenaCaptaElenaCapta 

Help with convertLead()

I want to create a Custom S-Control only with convertLead but I'm new in Salesforce and I can't obtain the result. How can I do? and Anybody have an example?
 
Thanks!
Rick.BanisterRick.Banister
You can use the convertLead function in Relational Junction. Any Lead in your warehouse that has a DELETE_FLAG value of "C" will be converted. If convertedaccountid contains a valid Account ID, it will be used instead of creating a new Account. If convertedcontactid contains a valid Contact ID, it will be used instead of creating a new Contact.