lazhen
2025-01-08 adb6335399c5a1658d8d8172a91042585f3e30b1
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();
  *]
}