Quintiq file version 2.0
#parent: ContextMenuOpInputOutputPISP_549/MenuExcludeOpInputOutputFromUtil
Response OnClick (
  structured[OperationInputOutputPISPNode] selection
) id:Response_ContextMenuOpInputOutputPISP_549_MenuExcludeOpInputOutputFromUtil_OnClick
{
  #keys: '[139394.0.1498614374]'
  CanBindMultiple: false
  DefinitionID => /ContextMenuOpInputOutputPISP_549/Responsedef_ContextMenuOpInputOutputPISP_549_MenuExcludeOpInputOutputFromUtil_549_OnClick
  Precondition:
  [*
    oios := selectset( selection, Elements.PISPNodeInRouting.OperationInputOutput, oio, true )
    
    return OperationInputOutput::CanToggleIsExcluded( oios, feedback ) and OperationInputOutput::CanInclude( oios, true, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Exclude pisp operation inputs from capacity consumption
      oios := selectset( selection, Elements.PISPNodeInRouting.OperationInputOutput, oio, true )
      OperationInputOutput::ToggleIsExcluded( oios, true /*status*/ );
    *]
    GroupServerCalls: false
  }
}
