| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SavePreferences () id:Method_DialogSmartPlan_SavePreferences | 
| { | 
|   #keys: '[136682.3.973424884]' | 
|   Body: | 
|   [* | 
|     //Save user preference to smartplansetting | 
|      | 
|     MacroPlan.SmartPlanSetting().Update( true,  | 
|                                          RadioButtonGroupSmartPlanDirection.BoundValue(), | 
|                                          CheckboxOverrideManual.Checked(), | 
|                                          CheckboxOnlyPlanOneStepUpstream.Checked(), | 
|                                          DropDownListStrategy.Data().Name(), | 
|                                          CheckboxIsSelectedUnits.Checked(), | 
|                                            DataHolderSelectedUnitsForSmartPlan.Data() ); | 
|     Form.EnableButtonSavePreferences( false ); | 
|   *] | 
| } |