| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method New ( |  |   internal[GUIComponent] parent |  | ) as Routing id:Method_DialogCreateEditRouting_New |  | { |  |   #keys: '[113694.1.1907226143]' |  |   Body: |  |   [* |  |     // Create new routing |  |      |  |     data := MacroPlan.Routing( relshadow, ID := "" );// Temporary set ID to empty, will be defined by user in the interface |  |      |  |     Dialog.Data( data ); |  |     result := this.DoModal( parent ); |  |      |  |     if( result > 0 ) |  |     { |  |       data.Commit(); |  |     } |  |      |  |     return data.WrappedInstance(); |  |   *] |  | } | 
 |