at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, 'dw_absence_planning_detail') == 0 || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, 'dw_absence_planning_detail', 'time_to') ?: '').toUpperCase().contains('DATE') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, 'dw_absence_planning_detail', 'time_to') ?: '').toUpperCase().contains('TIME') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, 'dw_absence_planning_detail', 'time_to') ?: 'NULL').toUpperCase().contains('NULL')