Quintiq file version 2.0
#parent: ToolbarMain/ButtonShowOptimizerSettings
Response OnClick () id:Response_ToolbarMain_ButtonShowOptimizerSettings_OnClick
{
  #keys: '[11660.0.142103110]'
  Body:
  [*
    //Open optimizer strategy dlg
    ApplicationLibMacroPlanner.RunOptimizer();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return ScenarioManager::HasScenarioManager( ScenarioManager, feedback )
           and MacroPlan::HasMacroPlan( MacroPlan, feedback ) 
           and MacroPlan.CanPlan( feedback )
           and ScenarioManager::HasCapacityForMaximumNumberofConcurrentRuns( ScenarioManager, SelectionScenario.Data(), true, feedback );
  *]
  UserRequiresReadWrite: true
}
