Quintiq file version 2.0
#parent: #root
Method Reset () id:Method_DialogResetPlan_Reset
{
  #keys: '[146140.1.584065237]'
  Body:
  [*
    // Reset plan
    resetman := RadioButtonGroup.BoundValue() = 'ResetMan'
                or RadioButtonGroup.BoundValue() = 'ResetAll'
    
    resetopt := RadioButtonGroup.BoundValue() = 'ResetOpt'
                or RadioButtonGroup.BoundValue() = 'ResetAll'
                 
    // Get Optimizer Selected
    optimizer := SelectionOptimizerPuzzleReset.Data();
    
    MacroPlan.ResetPeriodTasksAndResetKPI( resetman, resetopt, optimizer );
  *]
}
