Quintiq file version 2.0 
 | 
#parent: #root 
 | 
DeclarativeReferenceRelation CalcAsAccountAssignmentForFinancialAccount 
 | 
{ 
 | 
  #keys: '1[127710.1.673854658]' 
 | 
  Expression: 
 | 
  [* 
 | 
    //Returns account assignment of Financial accounts 
 | 
     
 | 
    acd := null( AccountCostDriver ); 
 | 
    if( this.Account_MP().IsFinancialAccount() ) 
 | 
    { 
 | 
      acd := this.AccountCostDriver(); 
 | 
    } 
 | 
     
 | 
    return acd; 
 | 
  *] 
 | 
  Relation: AsAccountAssignmentForFinancialAccount 
 | 
} 
 |