1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| Quintiq file version 2.0
| #parent: #root
| Method GetIncomingProductInTrips (
| const IncomingShelfLifeDay itday
| ) const as constcontent owning ProductInTrips
| {
| Description: 'Obtain incoming product in trips with filtering on lead time object (used in shelf life optimizer)'
| TextBody:
| [*
| pits := selectset( this,
| ProductInStockingPoint_MP.ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ).AsArrivalPISPIP,
| pit,
| pit.Trip().DepartureUnitPeriod().Period_MP() = this.Period_MP()
| and pit.Trip().GetShelfLifeAgeToAdd() = itday.ShelfLifeDays()
| )
| return &pits;
| *]
| }
|
|