lazhen
2024-10-12 c334d78bedad36957c1fc72a8d639c7955466d40
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
Function CalcIsDefaultInventoryHoldingAccount
{
  TextBody:
  [*
    // Adhi Jun-2-2016 (created)
    
    accname := guard( this.MacroPlan().GlobalParameters_MP().DefaultAccountForInventoryHolding(), '' );
    value := this.Name() = accname;
    this.IsDefaultInventoryHoldingAccount( value );
  *]
}