Operation Details
Description: This method returns the count of milestone waiver approval checks based on the organization id, status and the type of milestone. Note: The Milestone configuration id is considered null in this case.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :count 
FROM
  MilestoneWaiverApprovalCheck 
WHERE organisationUnitID = :organisationUnitID 
  AND milestoneConfigurationID is NULL 
  AND type = :type 
  AND status = :status