limj
2023-10-24 93652435728de839582440eefd5122c281181d35
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Quintiq file version 2.0
#parent: GanttChartDemandSupplyGroup
Response OnClick (
  structured[StockingPointInPeriod] selection
) id:Response_GanttChartDemandSupplyGroup_MenuSmartPlanRows_OnClick_228
{
  #keys: '[124808.2.525198510]'
  Body:
  [*
    // Smart plan rows for SPs from SPIPs node
    dlg := construct( DialogSmartPlan );
    
    sps := selectset( selection, Elements.StockingPoint_MP, sp, true );  
    isviableonestepupstream := false;                    
    dlg.SmartPlan( sps, this, isviableonestepupstream );
  *]
  CanBindMultiple: false
  DefinitionID => /GanttChartDemandSupplyGroup/Responsedef_GanttChartDemandSupplyGroup_Menu_OnClick
  Initiator: 'MenuSmartPlanRows'
  Precondition:
  [*
    return MacroPlan.CanPlan( feedback )
           and ScenarioManager::CanStartSmartPlan( ScenarioManager, SelectionScenario.Data(), true, feedback );
  *]
}