Table of Contents
- Introduction
- Important Instructions
- Requirements
- Database
- Tables
- change_log
- data_absence
- data_booking
- data_custom_shift
- data_employee
- data_employee_access
- data_employment_period
- data_fixed_shift
- data_group
- data_group_access
- data_holiday
- data_individual_working_time
- data_leave_ban
- data_leave_entitlement
- data_leave_type
- data_membership
- data_modified_shift
- data_note
- data_overtime
- data_shift_cycle
- data_shift_cycle_assignment
- data_shift_cycle_element
- data_shift_cycle_exception
- data_shift_requirement
- data_shift_type
- data_shift_type_restriction
- data_special_period
- data_special_shift_requirement
- data_special_weekday_requirement
- data_surcharge_type
- data_user_setting
- data_user_specification
- data_working_time_model
- data_workplace
- Tables
Table data_absence
The data_absence table contains the absences of the employees.
Table Description
| Column | Data type | Description |
|---|---|---|
| absence_id | int | Primary key (Auto value) Unique record ID |
| employee_id | int | Foreign key to table data_employee Identifies the associated employee |
| leave_type_id | int | Foreign key to table data_leave_type Identifies the associated leave type |
| date | date | Validity date |
| time_of_day | tinyint | Absence time. Possible values:
|
| start_at | time | Start of absence when time_of_day has the value 3. Default value: 00:00 |
| end_at | time | End of absence when time_of_day has the value 3. Default value: 00:00 |
| plan_type | tinyint | Plan in which the absence is valid. Possible values:
|
| deleted | tinyint | 1 for deleted entry, otherwise 0. Default value: 0 |
| transaction_id | bigint unsigned | For internal use only |
| created_at | timestamp(6) | Record creation time Default value: current time |
| updated_at | timestamp(6) | Last record update time Default value: current time |
Note: The absence period must not include a day change.
In that case, enter two records.