1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method IsForAccountAssignment () declarative remote as Boolean 
 |  { 
 |    Description: 
 |    [* 
 |      Returns true if the account can be used for creating  assignment with unit / stocking point / pisp / operation / lane / lane leg. 
 |      Used in designer 
 |    *] 
 |    TextBody: 
 |    [* 
 |      // soh yee Dec-25-2013 (created) 
 |       
 |      return this.Child( relsize ) = 0 
 |             and this.AccountTypeName() <> Translations::MP_Account_AccountTypeMargin() 
 |             and this.AccountTypeName() <> Translations::MP_Account_AccountTypeSales(); 
 |    *] 
 |  } 
 |  
  |