Quintiq file version 2.0
#parent: GroupPanelOptimizerSettings/ButtonResetAutoScalingDates
Response OnClick () id:Response_GroupPanelOptimizerSettings_ButtonResetAutoScalingDates_OnClick
{
  #keys: '[122872.0.1943668850]'
  Body:
  [*
    // Resets the last autoscalingrun dates of the strategy
    strategies := selectset( ScenarioManager, Strategy, strategy, true );
    Dialog.Data().MacroPlan().GlobalParameters_MP().ResetDateLastAutoScalingRuns( strategies );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return ScenarioManager::HasScenarioManager( ScenarioManager, feedback );
  *]
}
