| Quintiq file version 2.0 | 
| #parent: #root | 
| TableFunction CalcHasAllowedCostDriver | 
| { | 
|   DefaultOutputFunction: | 
|   [* | 
|     // Adhi May-17-2016 (created) | 
|     this.HasAllowedCostDriver( false ); | 
|   *] | 
|   Description: 'Returns true if the cost driver of this AccountAssignment is allowed based on knowledge in KT.' | 
|   OutputFunction: | 
|   [* | 
|     // Adhi May-17-2016 (created) | 
|     this.HasAllowedCostDriver( IsAllowed ); | 
|   *] | 
|   TableDefinition: CostDriverRules | 
|   FunctionColumnMatch | 
|   { | 
|     ColumnDefinition: CostType | 
|     MatchExpression: 'this.DefinitionName()' | 
|     Operator: '=' | 
|   } | 
|   FunctionColumnMatch | 
|   { | 
|     ColumnDefinition: CostDriver | 
|     MatchExpression: 'this.CostDriver()' | 
|     Operator: '=' | 
|   } | 
| } |