Quintiq file version 2.0
#parent: CheckBoxHasEnd
Response OnCreated () id:Response_DialogCreateEditFulfillmentRestriction_CheckBoxHasEnd_OnCreated
{
  #keys: '[130152.0.270409847]'
  Body:
  [*
    GUIDateTimeSelectorEndDate.Enabled( CheckBoxHasEnd.Checked() );
    
    if( CheckBoxHasEnd.Checked() and not GUIDateTimeSelectorEndDate.DateTime().Date().IsFinite() )
    {
      end := MacroPlan.End()
      GUIDateTimeSelectorEndDate.DateTime( end );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIComponent_OnCreated'
}
