Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method RestoreDefaults () id:Method_DialogSmartPlan_RestoreDefaults 
 | 
{ 
 | 
  #keys: '[136682.3.1105687266]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Restore defaults 
 | 
    MacroPlan.SmartPlanSetting().Update( false,  
 | 
                                         RadioButtonGroupUpstreamDownstream.BoundValue(), 
 | 
                                         CheckBoxOverrideManual.Checked(), 
 | 
                                         CheckBoxOnlyPlanOneStepUpstream.Checked(), 
 | 
                                         SelectionStrategy.Data().Name(), 
 | 
                                         CheckBoxIsSelectedUnits.Checked(), 
 | 
                                         null( Units ) ); 
 | 
    // Clear dataholder 
 | 
    DataHolderSelectedUnitsForSmartPlan.Data().Flush(); 
 | 
     
 | 
    Dialog.SetDefaultValues(); 
 | 
  *] 
 | 
} 
 |