Merges the Salesforce records (also called Salesforce objects).
<Result> = SFMerge(<Salesforce connection> , <Type of merge>)
<Result>: Array variable
Array of sfMergeResult variables containing the result data, especially the identifiers of the merged records.
<Salesforce connection>: sfConnection variable
Name of the variable of type sfConnection to be used
<Type of merge>: Array variable
Array of sfMergeRequest variables corresponding to the records (Salesforce objects) to merge.
Possible error cases:
- The Internet connection is not valid.
- The authentication was not performed properly.
- The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred