MergeLeads
Merges two or more known lead records into a single lead record.
Execute
Sample EXECUTE MergeLeads WinningLeadId=1657, LosingLeadId='1665,1666,1667'
Input
| Name | Type | Required | Description |
| WinningLeadId | Integer | True | Id of the winning lead record. |
| LosingLeadId | String | True | Ids of losing Lead records. |
| MergeInCRM | Boolean | False | Name of the new status for the program member. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
| Details | String | Details of execution failure. NULL if success=true. |