1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method IsInRoutingStep ( 
 |    RoutingStep routingstep 
 |  ) declarative remote as Boolean 
 |  { 
 |    Description: 'Returns true if any operations from this unit is in the routingstep argument. Used in designer.' 
 |    TextBody: 
 |    [* 
 |      // Adhi Feb-23-2016 (created) 
 |       
 |      value := exists( routingstep, Operation, op, op.Unit() = this ); 
 |       
 |      return value; 
 |    *] 
 |  } 
 |  
  |