Uses the CC360 pattern matching algorithms to match the fields in the object passed through this method with the fields in the database and returns the duplicate records.
Parameters:
obj
The salesforce sObject to be searched for duplicates. You can use any salesforce sObject in the method. You can pass the object to the method without casting the object as an sObject type. The object to be searched need not exist in the database.
searchSources
The salesforce object to be compared with the sObject. You can compare the sObject passed through the method with any other type of salesforce object that is synchronized with CC360. You must define the object in CC360 data sources as part of custom settings. CC360 uses the match settings defined as part of custom settings to search for duplicates.
sortOrder
Controls the sort order of the beans returned by the search. The recommended value is null.
Returns:
The list of duplicate records for the specified sObject.