yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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'
      }
    ]
  }
}