Operation Details |
Description: | This method returns the maximum percentage and record count of active approval checks configured for an organization unit and any investigation. |
Sterotype: | ns |
SQL |
SELECT MAX(percentage), COUNT(*) INTO :percentage, :numRecords FROM InvestigationApprovalCheck WHERE organisationUnitID = :organisationUnitID AND typeCode = :typeCode AND recordStatus = :recordStatus |