Operation Details
Description: Method to check if a record has been already merged.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numberOfRecords 
FROM
  MergedRecord 
WHERE recordType = :recordType 
  AND (mergedFromRecordID = :recordID OR mergedToRecordID = :recordID)