1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| Quintiq file version 2.0
| #parent: #root
| Method GetSalesDemandPISP () as owning Strings
| {
| Description: 'Get the unique combination of product and stocking point from sales demand'
| TextBody:
| [*
| sdpisp := selectuniquevalues( this,
| Product_MP.SalesDemand,
| sd,
| true,
| sd.ProductID() + ";" + sd.StockingPointID() );
|
| postpondcostpisp := selectuniquevalues( this,
| Product_MP.PostponedSalesDemandCost,
| c,
| isnull( c.StockingPoint_MP() ) or c.StockingPoint_MP().ID() <> c.StockingPointID(),
| c.ProductID() + ";" + c.StockingPointID() );
|
| sdpisp := sdpisp.Union( postpondcostpisp );
|
| return &sdpisp;
| *]
| }
|
|