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 GetLane () declarative remote as Lane 
 |  { 
 |    Description: 'Retrieve the lane this stocking point in lane is assigned to' 
 |    TextBody: 
 |    [* 
 |      // timothyg Apr-7-2015 (created) 
 |       
 |      lane := this.AsOrigin() 
 |       
 |      if( isnull( lane ) ) 
 |      { 
 |        lane := this.AsDestination(); 
 |      } 
 |       
 |      return lane; 
 |    *] 
 |  } 
 |  
  |