| Quintiq file version 2.0 | 
| #parent: MatrixEditorProductPlanning | 
| Response OnClick ( | 
|   structured[ProductInStockingPointInPeriod] objects | 
| ) id:Response_FormProductPlanningMatrix_MenuSmartPlanRow_OnClick | 
| { | 
|   #keys: '[130238.0.384085982]' | 
|   Body: | 
|   [* | 
|     // Smart plan rows for PISPs from PISPIP node | 
|     dlg := construct( DialogSmartPlan ); | 
|      | 
|     pisps := selectset( objects, | 
|                         Elements.ProductInStockingPoint_MP, | 
|                         pisp, | 
|                         true );   | 
|     isviableonestepupstream := true;                     | 
|     dlg.SmartPlan( pisps, this, isviableonestepupstream ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID => /Responsedef_FormProductPlanningMatrix_MatrixEditor_Menu_OnClick_19 | 
|   Initiator: 'MenuSmartPlanRow' | 
|   Precondition: | 
|   [* | 
|     return MacroPlan.CanPlan( feedback ) | 
|            and ScenarioManager::CanStartSmartPlan( ScenarioManager, DataHolderActiveScenario.Data(), true, feedback ); | 
|   *] | 
| } |