SELECT
PlannedItem.plannedItemID,
PlannedItem.name,
PlanItem.typeCode,
PlannedItem.expectedStartDate,
PlannedItem.expectedEndDate,
PlannedItem.actualStartDate,
PlannedItem.actualEndDate,
PlannedItem.authorizedUnits
INTO
:plannedItemID,
:name,
:typeCode,
:expectedStartDate,
:expectedEndDate,
:actualStartDate,
:actualEndDate,
:authorizedUnits
FROM
PlannedItem,
PlanItem
WHERE PlannedItem.plannedSubGoalID = :plannedSubGoalID
AND PlannedItem.sensitivityCode <= :sensitivityCode
AND PlanItem.planItemID = PlannedItem.planItemID
|