1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method FindCalendar ( 
 |    String calendarType_i, 
 |    String calendarID_i 
 |  ) as LibCal_Calendar 
 |  { 
 |    Description: 'Find a calendar based on its Type  and ID.' 
 |    TextBody: 
 |    [* 
 |      return selectobject( this, Calendar, calendar, 
 |                           calendar.CalendarType() = calendarType_i and 
 |                           calendar.CalendarID()   = calendarID_i ); 
 |    *] 
 |  } 
 |  
  |