1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| Quintiq file version 2.0
| #parent: #root
| Method Copy (
| MacroPlan owner,
| String username_i
| ) as OptimizerPuzzleWIP
| {
| Description: 'Create an OptimizerPuzzleWIP with createAsNew true and name := old name + - Copy meaning that this is copy mode'
| TextBody:
| [*
| // Call CopyInternal in order to create a new OptimizerPuzzleWIP with createAsNew = true ( Copy )
| wip := this.CopyInternal( owner, username_i, true, false );
|
| // Get unique name for OptimizerPuzzleWIP
| wip.SetUniqueOptimizerPuzzleWIPName( owner );
|
| return wip;
| *]
| }
|
|