1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetIsValidTrip ( 
 |    LaneLeg laneleg 
 |  ) declarative remote as Boolean 
 |  { 
 |    Description: 'Check if the trip is departing or arriving within the validity of the laneleg' 
 |    TextBody: 
 |    [* 
 |      // desmondt Sep-9-2015 (created) 
 |       
 |      return Trip::GetIsValidTrip( laneleg, this.Departure().Date(), this.Arrival().Date() ); 
 |    *] 
 |  } 
 |  
  |