xiaoding721
2024-09-12 69d83d3e1a1384b3a6809c35419cdef870612bc6
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
DeclarativeReferenceRelation CalcNewSupply
{
  #keys: '1[110880.9.463903608]'
  Expression:
  [*
    // NewSupply are always linked to the Last period task of the Trip.
    return select( this, Trip.LastPeriodTaskLaneLeg.NewSupply, ns,
                   ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Product_MP() = this.Product_MP() );
  *]
  Relation: NewSupply
}