Operation Details
Description: Lists planned group details by caseID and parent group ID.
Sterotype: nsmulti
SQL
SELECT
  PlannedGroup.plannedGroupID,
  PlannedGroup.parentGroupID,
  PlannedGroup.name,
  PlannedGroup.expectedStartDate,
  PlannedGroup.expectedEndDate,
  PlannedGroup.actualStartDate,
  PlannedGroup.actualEndDate
INTO
  :plannedGroupID,
  :parentGroupID,
  :plannedGroupName,
  :expectedStartDate,
  :expectedEndDate,
  :actualStartDate,
  :actualEndDate 
FROM
  PlannedGoal,
  PlannedGroup 
WHERE PlannedGoal.caseID = :caseID 
  AND PlannedGroup.plannedGoalID = PlannedGoal.plannedGoalID 
  AND PlannedGroup.parentGroupID = :parentGroupID