Quintiq file version 2.0 
 | 
#parent: #root 
 | 
DeclarativeReferenceRelation CalcProductInStockingPointInPeriodPlanningLeafWhenTripForMeta 
 | 
{ 
 | 
  #keys: '1[141320.5.2058285773]' 
 | 
  Expression: 
 | 
  [* 
 | 
    value := null( ProductInStockingPointInPeriodPlanningLeaf );  
 | 
    pispip := this.ProductInStockingPointInPeriodPlanningLeafWhenForTrip();  
 | 
    if ( not isnull( pispip )  
 | 
         and this.ProductInTrip().IsInOptimizerPuzzle() )  
 | 
    { 
 | 
      value := pispip;  
 | 
    } 
 | 
    return value; 
 | 
  *] 
 | 
  Relation: ProductInStockingPointInPeriodPlanningLeafWhenTripForMeta 
 | 
} 
 |