//If the contact id loading query has no results, stop.
//If the contact id loading query has no results, stop.
//No ids should be deleted if an error has been made in this query.
//No ids should be deleted if an error has been made in this query.
if(pTargetRecordsData.length<=0)
if(pTargetRecordsData.length<=0)
return;
returnfoundDuplicateIds;
//First it gets checked if the current id has already been identified. If that's the case it'll continue with the next.
//First it gets checked if the current id has already been identified. If that's the case it'll continue with the next.
//Otherwise an object gets build in the form of ["FilterFieldName" = "FilterFieldValueFromQuery"] with which a scan for possible duplicates get's started
//Otherwise an object gets build in the form of ["FilterFieldName" = "FilterFieldValueFromQuery"] with which a scan for possible duplicates get's started