Operation Details
Description: Returns the number of appeal stages whose parentAppealStageID is equal to the specified appealStageID.
Sterotype: ns
SQL
SELECT
  COUNT(appealStageID)
INTO
  :numberOfRecords 
FROM
  AppealStage 
WHERE parentAppealStageID = :parentAppealStageID 
  AND recordStatus = :recordStatus