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 GetWebDisplayText () declarative remote as String 
 |  { 
 |    Description: 'Display feedback based on severity to be used in row tooltips of Capacity planning gantt chart( web)' 
 |    TextBody: 
 |    [* 
 |      string := ""; 
 |       
 |      if ( exists( this, StockingPointInPeriod, spip, spip.HasConstraintViolations() ) ) 
 |      { 
 |       string := Translations::MP_StockingPoint_HasConstraintViolated( this.Name() );   
 |      } 
 |       
 |      else if ( this.IsBottleneck() ) 
 |      { 
 |        string := Translations::MP_StockingPoint_IsBottleneck( this.Name() ); 
 |      } 
 |       
 |      return string; 
 |    *] 
 |  } 
 |  
  |