Operation Details
Description: Lists all active goals for the service plan type.
Sterotype: nsmulti
SQL
SELECT
  goalID,
  name
INTO
  :goalID,
  :name 
FROM
  Goal 
WHERE recordStatus = 'RST1' 
  AND goalID IN 
  ( 
  SELECT
    goalID 
  FROM
    ServicePlanGoalLink 
  WHERE servicePlanID = :servicePlanID 
  )