1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Function CalcProgress 
 |  { 
 |    Description: 'Keeps track of progress during a MEIO run, e.g., the percentage of products for which the MEIO procedure has been run.' 
 |    TextBody: 
 |    [* 
 |      // mny1 Jun-25-2018 (created) 
 |       
 |      value := 100* guard( counter( this, Product_MP, p, p.MEIO_IsOptimized() ) / this.Product_MP( relsize ) , 
 |                           0 ) 
 |       
 |      this.Progress( value ); 
 |    *] 
 |  } 
 |  
  |