1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod Create ( 
 |    MPSync owner, 
 |    String eventid, 
 |    String calendarid, 
 |    String calendartype, 
 |    String category, 
 |    String datasource, 
 |    Duration duration, 
 |    Boolean isallday, 
 |    Boolean isdefault, 
 |    Boolean isrecurring, 
 |    Boolean issoftdeleted, 
 |    Real partialcapacity, 
 |    Boolean patterndaily_iseveryweekday, 
 |    Number patternmonthlyday, 
 |    String patternmonthlydayofweek, 
 |    Boolean patternmonthlyisday, 
 |    String patternmonthlyweekofmonth, 
 |    String patterntype, 
 |    String patternweeklyweekday, 
 |    Number patternyearlyday, 
 |    String patternyearlydayofweek, 
 |    Boolean patternyearlyisday, 
 |    Number patternyearlymonth, 
 |    String patternyearlyweekofmonth, 
 |    Number recurrenceinterval, 
 |    Duration starttimeofday, 
 |    String subject, 
 |    String type 
 |  ) as IOEvent 
 |  { 
 |    Description: 'Create IO unit event' 
 |    TextBody: 
 |    [* 
 |      ioevent := owner.IOEvent( relnew, 
 |                                EventID := eventid ); 
 |       
 |      ioevent.Update( calendarid, calendartype, category, datasource, duration, isallday, isdefault, isrecurring, issoftdeleted, partialcapacity, patterndaily_iseveryweekday,  
 |                      patternmonthlyday,  
 |                      patternmonthlydayofweek, patternmonthlyisday, patternmonthlyweekofmonth, patterntype, patternweeklyweekday,  
 |                      patternyearlyday, patternyearlydayofweek, patternyearlyisday, patternyearlymonth, patternyearlyweekofmonth,  
 |                      recurrenceinterval, starttimeofday, subject, type ); 
 |       
 |      return ioevent; 
 |    *] 
 |  } 
 |  
  |