Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Capture ( 
 | 
  LibOpt_Scope scope 
 | 
) 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    pispips := scope.GetPISPIPInOptimizerRun();  
 | 
    leafcount := counter(  pispips, Elements.astype(  ProductInStockingPointInPeriodPlanningLeaf ), p, true, true ) 
 | 
    this.NrPISPIPPlanningLeafOptimizerRun( leafcount );  
 | 
    this.NrPISPIPPlanningOptimizerRun(  pispips.Size() );    
 | 
    this.NrScopeElements( scope.ScopeElements().Size() ); 
 | 
    this.NrProductInTripOptimizerRun( scope.GetProductInTripInOptimizerRun().Size() );  
 | 
    this.NrOperationPeriodTaskInOptimizerRun( scope.GetPeriodTaskOperationInOptimizerRun().Size() ); 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |