| Quintiq file version 2.0 | 
| #parent: #root | 
| Function CalcIsFinancialAccount | 
| { | 
|   TextBody: | 
|   [* | 
|     // tyg2 Jul-15-2016 (created) | 
|      | 
|     value := this.AccountTypeName() = Translations::MP_Account_AccountTypeCostOfSales() | 
|              or this.AccountTypeName() = Translations::MP_Account_AccountTypeSales() | 
|              or this.AccountTypeName() = Translations::MP_Account_AccountTypeMargin() | 
|              or this.AccountTypeName() = Translations::MP_Account_AccountTypeAssets(); | 
|      | 
|     this.IsFinancialAccount( value ); | 
|   *] | 
| } |