Operation Details
Description: Counts the number of planItems with a specified name.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numPlanItems 
FROM
  PlanItem 
WHERE PlanItem.name = :name 
  AND PlanItem.recordStatus = :recordStatus