hongji.li
2023-10-17 3d8707012ed7b1fce076a9100e58e47f05d0f72b
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
}