1
2
3
4
5
6
7
8
9
10
11
12
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  DeclarativeReferenceRelation CalcLastFrozenUnitPeriod 
 |  { 
 |    #keys: '1[132448.0.675742902]' 
 |    Expression: 
 |    [* 
 |      endOfFrozen := this.MacroPlan().StartOfPlanning() + this.FrozenFutureDuration();  
 |      return maxselect( this, PlanningUnitPeriod, pup, pup.Period_MP().Start() < endOfFrozen, pup.Period_MP().Start() ); 
 |    *] 
 |    Relation: LastFrozenUnitPeriod 
 |  } 
 |  
  |