Operation Details |
Description: | Returns plannedGroupID, name, start date and end date of all existing planned groups of specified CaseID. |
Sterotype: | nsmulti |
SQL |
SELECT PlannedGroup.plannedGroupID, PlannedGroup.name, PlannedGroup.expectedStartDate, PlannedGroup.expectedEndDate, PlannedGroup.actualStartDate, PlannedGroup.actualEndDate INTO :plannedGroupID, :name, :expectedStartDate, :expectedEndDate, :actualStartDate, :actualEndDate FROM PlannedGroup, PlannedGoal WHERE PlannedGoal.caseID = :caseID AND PlannedGroup.plannedGoalID = PlannedGoal.plannedGoalID AND PlannedGroup.parentGroupID IS NULL ORDER BY PlannedGroup.createdOn |