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 
 |  Method GetPISPIPPlanning ( 
 |    MacroPlan macroplan, 
 |    String pispname, 
 |    DateTime startdate 
 |  ) as owning ProductInStockingPointInPeriodPlannings 
 |  { 
 |    Description: 'Retrieve one or more product in stocking point in period planning for given pisp and start date' 
 |    TextBody: 
 |    [* 
 |      pisp := select( macroplan, Product_MP.ProductInStockingPoint_MP, p, p.Name() = pispname ); 
 |      pispips := selectset( pisp,  
 |                            ProductInStockingPointInPeriodPlanning, 
 |                            pispip,  
 |                            pispip.Start() = startdate ); 
 |      return &pispips; 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |