Skip to content

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

  1. Attendance - daily arrival/departure records
  2. Time Logs (LogTime) - work on orders and projects
  3. Work Time Summary - monthly summary
  4. 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

  1. Go to HR
  2. Click Create HR
  3. Fill in required fields:
  4. Name
  5. Vacation hours per year (160)
  6. Work hours per day (8)
  7. 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

  1. Create a monthly Work Time Summary
  2. System creates attendance records per calendar
  3. Record actual time

4. Absence Requests

  1. Employee creates Absence Request
  2. Approver receives notification
  3. Upon approval, automatically:
  4. Creates absence record
  5. Updates attendance
  6. Deducts vacation hours