Calling convention: CIP_OPEX_CreateDowntimeFilter(Year: Integer): Boolean
Description: Creates a DowntimeStatistics filter named "Downtimelisten Year" with conditions for the requested calendar year and the configured downtime start-time entry.
Parameters:
Year = Calendar year stored in the generated year filter condition.
Returns: True after the filter and both filter items are inserted. A NULL year displays an information message and returns False. Missing required entries or database errors raise an exception.
Availability: OPEX configuration with writable FILTER and FILTERITEMS tables and the entries DowntimeListen_Kalenderjahr and DowntimeListen_Startzeit.
Example:
Created := CIP_OPEX_CreateDowntimeFilter(2026);