Operation Details |
Description: | Counts duplicate investigation resolution approval check records for an organization unit. |
Sterotype: | ns |
SQL |
SELECT COUNT(*) INTO :numberOfRecords FROM InvestigationApprovalCheck WHERE investigationApprovalCheckID <> :investigationApprovalCheckID AND investigationConfigID = :investigationConfigID AND organisationUnitID = :organisationUnitID AND recordStatus = :recordStatus |