Skip to content
Tutorials Center
My learning

Topics

Lesson 14 of 36 ยท ERP Modules

HR and Payroll Module

Explore the ERP human resources module as a tool: organisation structure, positions, leave and absence rules, time evaluation, payroll configuration, self-service and reports, with examples.

Hire to retire described the process; here we look at the HR and payroll module as the software that carries it. You will see what is configured once (organisation, pay components, leave rules), what is operated every period (time approval, payroll runs) and what employees and managers do themselves through self-service.

Because payroll and labour law differ by country, we model structure and logic, not real tax rules. All numbers are invented.

Organisation management

HR keeps a hierarchy of organisational units (company, division, department, team) with positions (a seat that may be vacant) and jobs (a type of work, such as "Accountant"). Employees are assigned to positions. This structure drives:

  • who reports to whom (and workflow approvals: leave goes to the manager),
  • access rights (a manager sees their subtree),
  • cost allocation (salary cost posts to the unit's cost centre),
  • headcount and vacancy reports.
Python Walking the organisation tree

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Leave and absence

Leave types (annual, sick, parental, unpaid) have rules: accrual per month, carry-over limits, minimum notice, who approves, whether it is paid. The module keeps balances and checks requests against them.

Python A leave request check

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Real systems also handle public holidays by country, half days and approval chains.

Time management and evaluation

Time data arrives from clocks, apps or timesheets. Time evaluation applies rules (rounding, breaks, shift premiums, overtime thresholds) and turns raw clock times into pay-relevant results.

Python Overtime evaluation

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Payroll configuration

Payroll uses wage types (also "pay codes" or "earning/deduction codes"): base salary, overtime, bonus, benefit, tax, pension, loan repayment. Each wage type defines whether it is taxable, whether it counts toward social contributions and which ledger account it posts to. A payroll run for a period:

  1. Collects master data and time results.
  2. Calculates gross to net per employee.
  3. Lets HR review and correct (a simulation or test run first).
  4. Locks the results, creates pay slips and bank payment files.
  5. Posts totals to the general ledger.
Python Wage types as data

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Self-service

Employee self-service

Request leave See balance, apply
Pay slips View and download
Update details Address, bank

Less paperwork for HR

1 / 2

Self-service reduces HR workload but needs careful permissions; changes to bank details, for instance, should trigger verification.

Reports and analytics

Typical reports: headcount and FTE (full-time equivalents), turnover, absence rate, overtime cost, payroll cost by cost centre, time to fill and diversity statistics (where lawful). Because HR data is sensitive, reports must respect the same role-based access as the screens.

Statutory aspects

Payroll modules usually ship country versions with legal rules and reporting forms, updated by the vendor when laws change (new tax tables each year). Companies operating in several countries often use a separate local payroll provider integrated with a global HR core. This is a typical integration decision.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is a wage type?

    Wage types define how each pay component is treated in payroll.
  2. 2. What does time evaluation do?

    It handles rounding, breaks, overtime and premiums.
  3. 3. Why run payroll in simulation first?

    A test run lets HR correct data before pay is actually calculated and paid.
  4. 4. A position differs from a job because a position

    Jobs describe types of work; positions are concrete seats in the structure.

Summary

  • HR modules manage the organisation tree, positions, leave rules, time and payroll.
  • Time evaluation turns raw time into pay-relevant results; wage types drive payroll calculation.
  • Payroll runs: collect, calculate, review, lock, pay and post to finance.
  • Self-service helps but needs strong permissions; country versions handle statutory rules.

Next: The CRM Sales Pipeline