Operation Details
Description: Searches details of all milestones required for baseline milestone creation at planned subgoal level.
Sterotype: nsmulti
SQL
SELECT
  SPMilestoneDeliveryLink.plannedSubGoalID,
  MilestoneDelivery.milestoneDeliveryID,
  MilestoneConfiguration.name,
  MilestoneConfiguration.nameTextID,
  MilestoneConfiguration.type,
  MilestoneConfiguration.typeTextID,
  MilestoneDelivery.expectedStartDate,
  MilestoneDelivery.expectedEndDate,
  MilestoneDelivery.actualStartDate,
  MilestoneDelivery.actualEndDate
INTO
  :plannedSubGoalID,
  :milestoneDeliveryID,
  :name,
  :nameTextID,
  :type,
  :typeTextID,
  :expectedStartDate,
  :expectedEndDate,
  :actualStartDate,
  :actualEndDate 
FROM
  MilestoneDelivery,
  MilestoneConfiguration,
  SPMilestoneDeliveryLink 
WHERE SPMilestoneDeliveryLink.plannedSubGoalID = :plannedSubGoalID 
  AND SPMilestoneDeliveryLink.milestoneDeliveryID = MilestoneDelivery.milestoneDeliveryID 
  AND MilestoneDelivery.milestoneConfigurationID = MilestoneConfiguration.milestoneConfigurationID