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_leave_type
The data_leave_type table contains the leave types.
Table Description
| Column | Data type | Description |
|---|---|---|
| leave_type_id | int | Primary key (Auto value) Unique record ID |
| name | varchar(100) | Leave types name Must not be empty |
| short_name | varchar(100) | Short name of the leave type Must not be empty |
| position | int | Position in the display order Default value: 0 |
| color_text | char(6) | Text color in hex format Default value: 000000 |
| color_bk | char(6) | Background color in hex format Default value: FFFFFF |
| color_bar | char(6) | Bar color in hex format Default value: FF0000 |
| bold_text | tinyint | 1 for bold text, otherwise 0 Default value: 0 |
| charge_type | tinyint | Creditable working time. Possible values:
|
| charge_hours | double | Hours to be credited when charge_type is set to 2 Default value: 0 |
| entitled | tinyint | 1 if the absence type is linked to an entitlement, otherwise 0. Default value: 0 |
| default_entitlement_in_days | double | Default entitlement in days Default value: 30 |
| entitlement_carry_over | tinyint | 1 if a remaining entitlement is to be carried over to the following year, otherwise 0 Default value: 0 |
| count_all | tinyint | 1 if all days of absence (including non-working days) should be counted, otherwise 0 Default value: 1 |
| no_absence | tinyint | not used in the Schichtplaner program |
| deduct_overtime_hours | tinyint | not used in the Schichtplaner program |
| category | tinyint | Assigned category (0: no restriction) Possible values: 0 - 20 Default value: 0 |
| valid_days | char(8) | Validity days: Value 1 means valid, otherwise 0 Index 0: Monday,..., 6: Sunday, 7: Public holiday Default value: 11111111 |
| hidden | tinyint | 1 if the leave type should be hidden in lists, otherwise 0 Default value: 0 |
| deleted | tinyint | 1 for deleted entry, otherwise 0. Default value: 0 |
| set_null_on_delete | tinyint | Must be set to NULL if the entry is deleted, otherwise to 1. Default value: 1 |
| 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 |