BeyondERP.Newsletter
Menu

TC-HR-WRK-010 · Test case

Paid and unpaid leave types generate the right earnings

A test you can run to check that the setup below works.

How to run the test

Before you start
  1. Payroll is used for the legal entity
  2. An earning code exists for the paid leave
  3. A salaried worker has a position with a working time calendar
Steps
  1. Create a paid leave type with the earning code
  2. Put the worker on that leave for a date range inside a pay period
  3. Generate earnings statements for the pay period
Expected resultEarnings lines for the leave days use the leave type's earning code, shown as a daily breakout.
What should failWith an unpaid leave type that has no earning code, no earnings lines are generated for the leave days and the salary amount is adjusted.

Setup it checks

Atlas Hub