Quintiq file version 2.0 
 | 
#parent: #root 
 | 
TypeDataInterface ScenarioActivity 
 | 
{ 
 | 
  TypeKey: '[110880.3.2086890924]' 
 | 
  ImageDataMember ImgDeadline 
 | 
  { 
 | 
    #keys: '1[110880.4.142911063]' 
 | 
    ImageSpecifications: 
 | 
    [ 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'Expired' 
 | 
        Image: 'SAD-SMILEY' 
 | 
        Quill: 'isnull( object.Next() ) and object.Deadline() < Date::Today();' 
 | 
        Value: 'Expired' 
 | 
      } 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'Expiring within a week.' 
 | 
        Image: 'WARNING' 
 | 
        Quill: 
 | 
        [* 
 | 
          ( object.Deadline() - Duration::Days(7) ).Date() < Date::Today() 
 | 
          and object.Deadline() >= Date::Today(); 
 | 
        *] 
 | 
        Value: 'Expiring within a week' 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
} 
 |