| Quintiq file version 2.0 | 
| #parent: CheckBoxHasStart | 
| Response OnChange () id:Response_DialogCreateEditFulfillmentRestriction_CheckBoxHasStart_OnChange | 
| { | 
|   #keys: '[130152.0.270404937]' | 
|   Body: | 
|   [* | 
|     GUIDateTimeSelectorStartDate.Enabled( CheckBoxHasStart.Checked() ); | 
|      | 
|     if( CheckBoxHasStart.Checked() and not GUIDateTimeSelectorStartDate.DateTime().Date().IsFinite() ) | 
|     { | 
|       start := MacroPlan.Start(); | 
|       GUIDateTimeSelectorStartDate.DateTime( start ); | 
|     } | 
|     else if( not CheckBoxHasStart.Checked() ) | 
|     { | 
|       GUIDateTimeSelectorStartDate.DateTime( DateTime::MinDateTime() ); | 
|     } | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_CheckBox_OnChange' | 
| } |