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 GetImage ( 
 |    ImportObjectGroupInUserProfile iog_i, 
 |    Boolean isMatched 
 |  ) declarative remote as String 
 |  { 
 |    TextBody: 
 |    [* 
 |      // Return string of image data ( excel, database, message ) 
 |      value := ''; 
 |      if( not isnull( iog_i ) ) 
 |      { 
 |        value := ifexpr( iog_i.IsDatabase(), 'BARREL', 
 |                         ifexpr( iog_i.IsMessage(),'MESSAGE', 
 |                                 ifexpr( isMatched, 'TABLE_PREFERENCES','TABLE_WARNING' ) ) ) ; 
 |      } 
 |      return value; 
 |    *] 
 |  } 
 |  
  |