Quintiq file version 2.0 
 | 
#parent: DataHolderUnitPeriod 
 | 
Response OnDataChanged () id:Response_ApplicationLibMacroPlanner_DataHolderUnitPeriod_OnDataChanged 
 | 
{ 
 | 
  #keys: '[124112.0.62399779]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Store all the base unit periods on another data holder 
 | 
     
 | 
    baseunitperiods := construct( UnitPeriods ); 
 | 
     
 | 
    traverse( this.Data(), Elements, unitperiod ) 
 | 
    { 
 | 
      base := unitperiod.GetBaseUnitPeriods(); 
 | 
      baseunitperiods := baseunitperiods.Union( base ); 
 | 
    } 
 | 
    DataHolderBaseUnitPeriods.Data( baseunitperiods.Copy() ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUIComponent_OnDataChanged' 
 | 
} 
 |