| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod ValidateInput ( |  |   output String feedback, |  |   LibCal_CalendarRegistry owner, |  |   LibCal_EventType eventtype, |  |   String id, |  |   String name |  | ) as Boolean |  | { |  |   TextBody: |  |   [* |  |     // 甄兰鸽 May-31-2024 (created) |  |     feedback := ''; |  |      |  |     if( exists( owner, EventType, et, ( et.ID() = id or et.Name() = name ) and ( isnull( eventtype ) or eventtype <> et ) ) ){ |  |       feedback := Translations::MP_LibCal_EventType_Exist(); |  |     } |  |          |  |     return feedback = ''; |  |   *] |  | } | 
 |