✅ Oracle HCM HDL: Load Seniority Hours (Create / Update / Delete) – Worker.dat Examples
For hourly paid workers, many organizations calculate seniority in hours instead of days. To support accurate seniority calculations in Oracle Fusion HCM, you can load seniority hours using HCM Data Loader (HDL).
In this post, you’ll learn how to create, update, and delete Seniority Hours using HDL with both:
-
Source Keys (SourceSystemOwner + SourceSystemId)
-
User Keys (AssignmentNumber + FromDate)
⭐ What are Seniority Hours in Oracle HCM?
Seniority Hours represent the number of hours worked that contribute to a worker’s length of service calculation.
This is mainly used for:
-
Hourly paid workers
-
Union or bargaining unit employees
-
Time & Labor based seniority
-
Payroll-driven seniority hours
๐ Sources of Seniority Hours Data
You can obtain seniority hours from:
-
Oracle Time and Labor (OTL)
-
Oracle Global Payroll
-
A third-party time system
-
External payroll system
✅ Important Prerequisites (Must Read)
Before loading seniority hours:
1) Assignment must exist
The assignment must already exist in Oracle HCM.
2) Assignment must be active
The assignment must be active as of the FromDate of the seniority hours.
3) Worker must be hourly paid
The worker must be paid hourly for the entire period you are loading hours.
๐ How to Verify Loaded Seniority Hours
After loading, you can verify data from:
Option 1: UI Page
✅ Manage Seniority Dates page (worker level)
Option 2: Database Query
For multiple workers:
✅ Query table: PER_SENIORITY_HOURS
๐งพ HDL Object Used
Seniority Hours are loaded using the HDL component:
✅ SeniorityHour (Worker.dat)
๐ File Name
๐ File Name:
Worker.dat
๐ฅ Examples of Loading Seniority Hours (HDL)
1) Create Seniority Hours Using Source Keys
๐ Notes:
-
SourceSystemOwner+SourceSystemIduniquely identify the record -
This is best for integrations from external systems
2) Create Seniority Hours Using User Keys
The user keys for SeniorityHour are:
✅ AssignmentNumber + FromDate
✏️ Updating Seniority Hours
3) Update Seniority Hours Using Source Keys
๐ The update happens because the same SourceSystemOwner + SourceSystemId exists.
4) Update Seniority Hours Using User Keys
๐ Oracle identifies the record using:
-
AssignmentNumber
-
FromDate
๐️ Deleting Seniority Hours
5) Delete Seniority Hours Using Source Keys
6) Delete Seniority Hours Using User Keys
✏️ Updating Seniority Hours
✅ Example 1: Load Seniority Hours for Multiple Periods (Same Assignment)
Use this when you want to load hours month-wise / week-wise.