| 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 GetAccountCost () declarative remote as AccountCost |  | { |  |   Description: 'returns the account cost if this assignment only has 1 cost definition' |  |   TextBody: |  |   [* |  |     // ying ying Jan-2-2014 (created) |  |     accountcost := null( AccountCost ) |  |      |  |     if( this.AccountCost( relsize ) = 1 ) |  |     { |  |       accountcost := select( this, AccountCost, a, true ); |  |     } |  |      |  |     return accountcost; |  |   *] |  | } | 
 |