Quintiq file version 2.0
#parent: ContextMenuOptimizerFunctions/MenuOptimizerSettings
Response OnClick () id:Response_ContextMenuOptimizerFunctions_MenuOptimizerSettings_OnClick
{
  #keys: '[144528.5.1924084111]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  Precondition:
  [*
    // Disable button if there's no active scenario
    return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Open/close Optimizer Settings form
      ApplicationMacroPlanner.ToggleSettingsFormViaButtonMenu( MenuOptimizerSettings );
    *]
    GroupServerCalls: false
  }
}
