1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| Quintiq file version 2.0
| #parent: #root
| Method GetDownstreamEntities (
| output owning Units units_o,
| output owning ProductInStockingPoint_MPs pisps_o,
| output owning StockingPoint_MPs stockingpoints_o
| ) remote
| {
| Description: 'Wrapper method used by designer to filter upstream products'
| TextBody:
| [*
| // ju jinn Sep-5-2014 (created)
|
| processes := construct( Process_MPs );
| pisps := construct( ProductInStockingPoint_MPs );
|
| this.ProductInStockingPoint_MP().GetDownstreamPISPsAndProcesses( 20, pisps, processes );
|
| units_o := selectset( processes, Elements.AsProcess_MP.AllParent.AsParent, unit, true, true );
| pisps_o := selectset( pisps, Elements, pisp, true, true );
| stockingpoints_o := selectset( pisps_o, Elements.StockingPoint_MP, sp, true, true );
| *]
| }
|
|