HR Module¶
The HR (Human Resources) module provides comprehensive employee management, time tracking, attendance, and absence management.
Key Concepts¶
Employee (HumanResource)¶
The central entity of the module containing:
- Personal data - name, contacts, birth number
- Working conditions - working hours, hourly rate
- Vacation - annual entitlement, remaining hours, last year's balance
- Competencies - list of skills
Vacation Management¶
Automatic vacation management system:
- Annual entitlement - standard 160 hours (20 days)
- Last year's balance - automatic transfer at year end
- Priority consumption - last year's balance first, then current year's entitlement
Entity Overview¶
| Entity | Description | Usage |
|---|---|---|
| HumanResource | Employee record | Central registry |
| VacationRequest | Absence request | Approval workflow |
| Vacation | Approved absence | Absence records |
| Attendance | Attendance | Daily records |
| LogTime | Time log | Work on orders |
| WorkTimeSummary | Work time summary | Monthly summaries |
| WorkRecord | Work record | Payroll data |
| MedicalExamination | Medical examination | Legal checkups |
| EducationAndTrainingRecord | Education records | Training and certifications |
| BorrowedEquipment | Borrowed equipment | Asset tracking |
| OtherEvent | Other events | Miscellaneous records |
Absence Management Workflow¶
sequenceDiagram
participant E as Employee
participant A as Approver
participant Sys as System
E->>Sys: Creates absence request
Sys->>A: Notification about request
A->>Sys: Approves/Rejects
alt Approved
Sys->>Sys: Creates Absence record
Sys->>Sys: Updates attendance
Sys->>Sys: Deducts vacation hours
Sys->>E: Approval notification
else Rejected
Sys->>E: Rejection notification
end
Absence Request Lifecycle¶
stateDiagram-v2
[*] --> Draft: Creation
Draft --> Pending: Submission
Pending --> Approved: Approval
Pending --> Rejected: Rejection
Pending --> Returned: Return for revision
Returned --> Pending: Resubmission
Approved --> [*]
Rejected --> [*]
Absence Types¶
| Type | Value | Description |
|---|---|---|
| Vacation | vacation |
Regular vacation |
| Sick Day | sickDay |
Paid health leave |
| Sick Leave | sickLeave |
Medical incapacity |
| Care Leave | careLeave |
Family member care |
| Doctor | doctor |
Doctor's visit |
| Business Trip | businessTrip |
Work travel |
| Statutory Absence | statutoryAbsence |
Legal leave |
| Unpaid Absence | unpaidAbsence |
Leave without pay |
| Home Office | homeOffice |
Working from home |
Work Time Tracking¶
flowchart LR
A[Attendance] --> B[Work Time Summary]
C[Time Logs] --> B
D[Absences] --> B
B --> E[Work Record]
E --> F[Payroll Data]
Tracking Components¶
- Attendance - daily arrival/departure records
- Time Logs (LogTime) - work on orders and projects
- Work Time Summary - monthly summary
- Work Record - payroll data
Integration¶
Working Calendar¶
Attendance tracking works with the Working Calendar:
- Defines working days and hours
- Determines holidays and non-working days
- Automatically used for absence hours calculation
Projects and Orders¶
Time logs can be linked to projects for:
- Cost tracking
- Billing worked time
- Efficiency analysis
Production¶
Time logs can be linked to production orders:
- Work tracking on operations
- Production cost calculation
Quick Start¶
1. Create Employee¶
- Go to HR
- Click Create HR
- Fill in required fields:
- Name
- Vacation hours per year (160)
- Work hours per day (8)
- Assign a system user
2. Vacation Setup¶
The system automatically manages:
- Annual entitlement per settings
- Consumption upon request approval
- Year-end transfer
3. Attendance Tracking¶
- Create a monthly Work Time Summary
- System creates attendance records per calendar
- Record actual time
4. Absence Requests¶
- Employee creates Absence Request
- Approver receives notification
- Upon approval, automatically:
- Creates absence record
- Updates attendance
- Deducts vacation hours
Related Documentation¶
- Usage - User procedures
- Administration - Administration and configuration
- Reference - Technical specification