1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| DeclarativeOwningNMRelation CalcNewSupply
| {
| #keys: '1[134266.1.45458773]'
| Expression:
| [*
| startofns := this.NewSupplyStart();
| endofns := Process_MP::GetOperationEnd( this.UnitPeriod().Period_MP(), startofns );
|
| return selectset( this,
| Operation.OperationOutput.ProductInStockingPoint_MP.ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ),
| pispip,
| // The period that the NS are in
| pispip.Period_MP().IsInPeriod( startofns, endofns ) );
| *]
| HelperRelation: ProductInStockingPointInPeriodPlanningLeaf
| InstantiationType: NewSupply
| Relation: NewSupply
| }
|
|