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
| Quintiq file version 2.0
| #parent: #root
| MethodOverride SynchronizeRecurrencePeriod (
| String participationID_i,
| String calendarType_i,
| String calendarID_i,
| Boolean eventIsRecurring_i,
| Boolean hasSpecificPeriod_i,
| String periodType_i,
| Date periodStartDate_i,
| Number periodNrOfOccurrences_i,
| Date periodEndDate_i
| )
| {
| TextBody:
| [*
| // A LeadingParticipation should always have HasSpecificPeriod = TRUE.
| // Log a warning when FALSE is encountered in the integration data, and ignore it.
| if( not hasSpecificPeriod_i )
| {
| LibCal_Util::Warning( calendarType_i + "." + calendarID_i + " : " +
| "ignoring HasSpecificPeriod = FALSE for LeadingParticipation '" + participationID_i + "'" );
| }
|
| this.UpdateRecurrencePeriod( eventIsRecurring_i,
| periodType_i,
| periodStartDate_i,
| periodNrOfOccurrences_i,
| periodEndDate_i );
| *]
| }
|
|