| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | | Quintiq file version 2.0 |  | #parent: #root |  | MethodOverride CreateCost ( |  |   AccountCost accountcost |  | ) |  | { |  |   Description: 'Create cost when copying a unit.' |  |   TextBody: |  |   [* |  |     // Adhi yee May-25-2016 (edited) |  |     // Copying unit will not copy the operation, lane, and lane leg. |  |     // Therefore, we should not copy the corresponding operation/lane/laneleg cost. |  |     UnitCost::Create( this.Account_MP().MacroPlan().IDHolder().GetUnitCostID(), |  |                       this.Unit(), |  |                       this.Account_MP(), |  |                       accountcost.CostDriver(), |  |                       accountcost.Start(), |  |                       accountcost.TimeUnit(), |  |                       accountcost.LengthOfTime(), |  |                       accountcost.Cost(), |  |                       false ); |  |   *] |  | } | 
 |