Quintiq file version 2.0
#parent: customdrawContextMenuSCO/MenuHideAllNodes_646
Response OnClick () id:Response_customdrawContextMenuSCO_MenuHideAllNodes_OnClick
{
  #keys: '[136682.0.1908312441]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback )
           and SupplyChainView::CanShowOrHideNodes( feedback, DataHolderViewBase.Data(), DataHolderFocusedStockingPoint.Data() );
  *]
  QuillAction
  {
    Body:
    [*
      // Hide all nodes
      DataHolderSupplyChainView.Data().ShowOrHideAllNodes( false, DataHolderFocusedUnit.Data() );
      DataHolderNode.Data().Flush();
      DataHolderStockingPointUnitEdge.Data().Flush();
      DataHolderLaneLegEdge.Data().Flush();
      Form.HideNodeFromClient();
    *]
  }
}
