yanweiyuan3
2023-10-27 d1d15b61dfcf7fd0f800b32359f082cf580ed556
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
26
27
Quintiq file version 2.0
#parent: ContextMenuOpInputOutputPISP_549/MenuIncludeOpInputOutputFromUtil
Response OnClick (
  structured[OperationInputOutputPISPNode] selection
) id:Response_ContextMenuOpInputOutputPISP_549_MenuIncludeOpInputOutputFromUtil_OnClick_549
{
  #keys: '[139394.0.1485400242]'
  CanBindMultiple: false
  DefinitionID => /ContextMenuOpInputOutputPISP_549/Responsedef_ContextMenuOpInputOutputPISP_549_MenuExcludeOpInputOutputFromUtil812_OnClick
  Precondition:
  [*
    oios := selectset( selection, Elements.PISPNodeInRouting.OperationInputOutput, oio, true )
    
    return OperationInputOutput::CanToggleIsExcluded( oios, feedback )
           and OperationInputOutput::CanInclude( oios, false, feedback ) ;
  *]
  QuillAction
  {
    Body:
    [*
      // Include pisp operation inputs from capacity consumption
      oios := selectset( selection, Elements.PISPNodeInRouting.OperationInputOutput, oio, true )
      OperationInputOutput::ToggleIsExcluded( oios, false /*status*/ );
    *]
    GroupServerCalls: false
  }
}