Quintiq file version 2.0
#parent: ContextMenuSupplyPlanningReset/MenuResetAll
Response OnClick () id:Response_ContextMenuSupplyPlanningReset_MenuResetAll_OnClick
{
  #keys: '[136682.1.1886308891]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  Precondition:
  [*
    activescenario := DataHolderActiveScenario.Data();
    
    return ScenarioManager::HasScenarioManager( ScenarioManager, feedback )
           and MacroPlan::HasMacroPlan( activescenario, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      //Reset plan
      dlgReset := construct( DialogResetPlan );
      dlgReset.Reset();
    *]
    GroupServerCalls: false
  }
}
