Quintiq file version 2.0
#parent: CustomDrawComponent
Response OnClick () id:Response_CustomDrawComponent_MenuHideAllStockingPoint_OnClick
{
  #keys: '[110880.3.987402219]'
  Body:
  [*
    // Hide all stocking point nodes
    DataHolderView.Data().ShowOrHideStockingPointNodes( false );
    
    // Toggle on value holder to indicate changes
    ApplicationLibMacroPlanner.SetSupplyChainOverviewWarning();
  *]
  DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick
  Initiator: 'MenuHideAllStockingPoint'
  Precondition:
  [*
    return SupplyChainView::CanShowOrHideNodes( feedback, DataHolderView.Data(), DataHolderFocusedSP.Data() );
  *]
  UserRequiresReadWrite: true
}
