1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method SetID ( 
 |    internal[WebEditField] targeteditfield, 
 |    String newname, 
 |    String existingname, 
 |    String existingid 
 |  ) id:Method_ApplicationMacroPlanner_SetID 
 |  { 
 |    #keys: '[135040.0.232653383]' 
 |    Body: 
 |    [* 
 |      // Update EditorID to have EditorName's value 
 |      if( existingid = '' 
 |          or existingname = existingid ) 
 |      { 
 |        targeteditfield.Text( newname ); 
 |      } 
 |    *] 
 |  } 
 |  
  |