1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  DeclarativeReferenceRelation CalcProductInTrip 
 |  { 
 |    #keys: '1[112884.1.696680544]' 
 |    Description: 'Declarative set instead of procedural to prevent from resetting the relation after import' 
 |    Expression: 
 |    [* 
 |      // soh yee Aug-24-2015 (created) 
 |       
 |      return select( this, Trip.ProductInTrip, pit, 
 |                     pit.ProductID() = this.ProductID() ); 
 |    *] 
 |    Relation: ProductInTrip 
 |  } 
 |  
  |