| Quintiq file version 2.0 | 
| #parent: GanttChartDemandSupplyGroup | 
| Response OnClick ( | 
|   structured[StockingPoint_MP] row | 
| ) id:Response_GanttChartDemandSupplyGroup_MenuSmartPlanForGanttChartRows_OnClick | 
| { | 
|   #keys: '[124808.2.280968506]' | 
|   Body: | 
|   [* | 
|     // Smart plan for stocking points | 
|     dlg := construct( DialogSmartPlan ); | 
|     isviableonestepupstream := false; | 
|     dlg.SmartPlan( row, this, isviableonestepupstream ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID => /GanttChartDemandSupplyGroup/Responsedef_GanttChartDemandSupplyGroup_Menu_OnClick | 
|   Initiator: 'MenuSmartPlanForGanttChartRows' | 
|   Precondition: | 
|   [* | 
|     return MacroPlan.CanPlan( feedback ) | 
|            and ScenarioManager::CanStartSmartPlan( ScenarioManager, SelectionScenario.Data(), true, feedback ); | 
|   *] | 
| } |