Quintiq file version 2.0 
 | 
#parent: #root 
 | 
TypeDataInterface AccountAssignment 
 | 
{ 
 | 
  TypeKey: '[110704.0.592211383]' 
 | 
  ImageDataMember ImgHasValidCostDriver 
 | 
  { 
 | 
    #keys: '1[110880.2.2006703454]' 
 | 
    ImageSpecifications: 
 | 
    [ 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'Cost driver is empty' 
 | 
        Image: 'WINDOW_DELETE' 
 | 
        Quill: 'not object.HasCostDriver()' 
 | 
        Value: 'Empty cost driver' 
 | 
      } 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'According to the rules in CostDriverRules KT, entity with this cost driver is not allowed' 
 | 
        Image: 'WINDOW_APPLICATION_DELETE' 
 | 
        Quill: 'not object.HasAllowedCostDriver()' 
 | 
        Value: 'Cost driver is not allowed' 
 | 
      } 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'Time-based cost driver is only allowed on time-based unit' 
 | 
        Image: 'HISTORY_DELETE' 
 | 
        Quill: 'guard( not object.astype( UnitAccount ).IsValidCostDriverForTime(), false )' 
 | 
        Value: 'Time based cost driver is not allowed' 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
  ImageDataMember ImgIsValidAssignment 
 | 
  { 
 | 
    #keys: '1[110880.2.1730230156]' 
 | 
    ImageSpecifications: 
 | 
    [ 
 | 
      ImageDataMemberImageSpecification 
 | 
      { 
 | 
        Description: 'Assignment is only allowed for account which is on the lowest level. Please remove this assignment' 
 | 
        Image: 'SELECTION_DELETE' 
 | 
        Quill: 'object.Account_MP().Child( relsize ) > 0' 
 | 
        Value: 'InvalidAccountAssignment' 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
} 
 |