1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetKPIInputLotSizeContinuous () const declarative remote as Real 
 |  { 
 |    Description: 'Return the penalty for not meeting input lot requirement.' 
 |    TextBody: 
 |    [* 
 |      pisps := selectset(  this,  
 |                           PISPSpecificationWithInputLotSize.ProductInStockingPoint_MP,  
 |                           pisp,  
 |                           true,  
 |                           true );  
 |       
 |      pispips := selectset(  pisps,  
 |                             Elements.ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), 
 |                             pispip,  
 |                             pispip.Period_MP().IsWithinKPIHorizon() and pispip.Period_MP().IsWithinLotSizeHorizon() );  
 |                               
 |      value := this.GetKPIInputLotSizeContinuous( pispips );  
 |      return value; 
 |    *] 
 |  } 
 |  
  |