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 
 |  StaticMethod Create ( 
 |    String id, 
 |    MacroPlan owner 
 |  ) as RoutingConfiguratorView 
 |  { 
 |    Description: 'Create view' 
 |    TextBody: 
 |    [* 
 |      // Create a new routing configurator view 
 |       
 |      currentusername := GlobalParameters_MP::GetUserName(); 
 |       
 |      newscv := owner.ViewBase( relnew, 
 |                                RoutingConfiguratorView, 
 |                                ID := id, 
 |                                User := currentusername ); 
 |       
 |      owner.IDHolder().RoutingConfiguratorViewID( MacroPlan::FormatStringToNumber( id ) ); 
 |       
 |      return newscv; 
 |    *] 
 |  } 
 |  
  |