PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of sfLeadConvert variables
  • Functions that handle the sfConvertLead type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
sfLeadConvert (Type of variable)
In French: sfConversionPiste (Type de variable)
The sfLeadConvert type is used to describe the conversion parameters of a lead. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details.
Versions 20 and later
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
New in version 20
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Remarks

Properties specific to the description of sfLeadConvert variables

The following properties can be used to handle the description of the conversion of a lead:
Name Type used Effect
OverwriteLeadSourceBoolean
  • True to overwrite the "Origin of the lead" item of the target contact with the content of the "Origin of the lead" item of the lead to convert,
  • False not to overwrite this information.
SendNotificationEmailBoolean
  • True if a notification of conversion must be sent by email to the manager of the lead,
  • False to perform no action.
AccountIDCharacter stringIdentifier of the account in which the lead will be merged. If this property is specified, the specified account will be updated. If this property corresponds to an empty string, a new account will be created.
Important: If "AccountId" is specified, "ContactId" must not be specified.
ContactIDCharacter stringIdentifier of the contact in which the lead will be merged. If this property is specified, the specified contact will be updated. If this property corresponds to an empty string, a new contact will be created.
LeadIDCharacter stringIdentifier of the lead to convert. This property must necessarily be specified.
OwnerIDCharacter stringIdentifier of the person who owns the new account, contact or opportunity. By default, the owner is the owner of the lead.
DoNotCreateOpportunityBoolean
  • True to create no opportunity during the conversion,
  • False to create an opportunity.
By default, an opportunity is automatically created.
OpportunityNameCharacter stringName of the opportunity to create. If this property corresponds to an empty string, the name of the company associated with the lead is used.
ConvertedStatusCharacter stringValue of the valid status for the converted lead. The statuses are defined by the administrator. To be proposed, the status must be checked for the "Converted" column.
This property is mandatory.
Note: The possible values can be known by programming by running the following query with SFExecuteQuery: "SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true").
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that handle the sfConvertLead type

Versions 14 and later
SFConvertLead
New in version 14
SFConvertLead
SFConvertLead
Converts the leads.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment