Quintiq file version 2.0
#parent: dpPeriod/datStartOfPeriod
Response OnChanged () id:Response_dpPeriod_datStartOfPeriod_OnChanged
{
  #keys: '[146730.0.901524325]'
  Body:
  [*
    // Adjust the EndDate accordingly.
    delta := this.Date() - vhStartOfPeriod.Data();
    datEndOfPeriod.Date( datEndOfPeriod.Date() + delta );
    
    // Update the 'memory' for later delta-calculation.
    vhStartOfPeriod.Data( datStartOfPeriod.Date() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIDateSelector_OnChanged'
}
