Wednesday, 11 February 2026

Oracle HCM HDL: Load Seniority Date Adjustments

 

✅ Oracle HCM HDL: Load / Update Seniority Date Adjustments (V3) – Examples + Worker.dat Templates

Seniority Date in Oracle HCM is the date used to calculate a worker’s length of service with the enterprise. It is commonly used for:

  • Service anniversary calculations

  • Leave / accrual eligibility

  • Benefits eligibility

  • Compensation / seniority-based policies

In this post, you’ll learn how to update V3 Seniority Dates using HCM Data Loader (HDL) with multiple real Worker.dat examples.


⭐ What is a Seniority Date in Oracle HCM?

A Seniority Date is a rule-based service date that Oracle uses to calculate service length for a worker.

Oracle allows seniority dates to be configured at:

  • Person level

  • Assignment level

  • Work relationship level

And can be based on:

  • Job

  • Department

  • Enterprise

  • Location

  • Legal Employer

  • Position

  • Grade

  • Bargaining Unit

  • Union Membership

✅ Prerequisites Before Loading Seniority Date Adjustments

Before you load seniority date adjustments via HDL, ensure:

  1. Worker exists in Oracle HCM (PersonNumber is valid)

  2. Seniority Date Rule is already configured

  3. You know the SeniorityDateCode (or Rule Name)

  4. You have the correct Assignment / Department / Job details for identifying the seniority component

  5. If using manual adjustments, ManualAdjustmentComments is mandatory

๐Ÿ“Œ Key Rule: Manual Adjustment Comments is Mandatory

1) Whenever you provide ManualAdjustmentDays, Oracle requires:

ManualAdjustmentComments

If you don’t include it, HDL will fail with an error similar to:

ManualAdjustmentComments must be provided for manual adjustments.


 2) SeniorityDateCode - 

You can use the lookup code from the lookup type ORA_PER_SENIORITY_ITEMS, or you can add a custom lookup code as per your business requirement.

๐Ÿ”ฅ Supported Identifiers for Seniority Date Components

The following attributes can be used to identify the entity on which the seniority date is based. 

EntityIdentifying Attribute
Bargaining unitBargainingUnitCode
Collective agreementCollectiveAgreementId
DepartmentDepartmentId
EnterpriseBusinessUnitShortCode
GradeGradeId
Grade stepGradeStepId
JobJobId
Legal employerLegalEntityId
LegislationLegislationCode
LocationLocationId
PositionPositionId
Union membershipUnionId

✅ You can also use User Keys instead of IDs (recommended).


๐Ÿงพ HDL Worker.dat Examples (V3 Seniority Date Updates)

Below are real HDL examples to update seniority dates using MERGE.


1) Update Seniority Date Based on Assignment


METADATA|SeniorityDate|SeniorityDateCode|PersonNumber|EntryDate|EffectiveStartDate|EffectiveEndDate|BusinessUnitShortCode|ManualAdjustmentDays|ManualAdjustmentComments|JobCode|AssignmentNumber

MERGE|SeniorityDate|XXTEST_ASG|XXTEST1|2012/01/01|2015/01/01|4712/12/31|US Business Unit|20|Data Correction|XXTEST_Job1|XXTEST_ASSIGN1

2) Update Seniority Date Based on Department

METADATA|SeniorityDate|SeniorityDateCode|PersonNumber|EntryDate|EffectiveStartDate|EffectiveEndDate|BusinessUnitShortCode|ManualAdjustmentDays|ManualAdjustmentComments|DepartmentName

MERGE|SeniorityDate|XXTEST_DEPT|XXTEST1|2012/01/01|2015/01/01|4712/12/31|US Business Unit|20|Data Correction|XXTEST Department1

3) Update Seniority Date Based on Grade

METADATA|SeniorityDate|SeniorityDateCode|PersonNumber|EntryDate|EffectiveStartDate|EffectiveEndDate|BusinessUnitShortCode|ManualAdjustmentDays|ManualAdjustmentComments|GradeCode

MERGE|SeniorityDate|XXTEST_GRADE|XXTEST1|2012/01/01|2015/01/01|4712/12/31|US Business Unit|20|Data Correction|XXTEST_GRADE01

4) Update Seniority Date Based on Job

METADATA|SeniorityDate|SeniorityDateCode|PersonNumber|EntryDate|EffectiveStartDate|EffectiveEndDate|BusinessUnitShortCode|ManualAdjustmentDays|ManualAdjustmentComments|JobCode

MERGE|SeniorityDate|XXTEST_JOB|XXTEST1|2012/01/01|2015/01/01|4712/12/31|US Business Unit|20|Data Correction|XXTEST_Job1

5) Update Seniority Date Based on Legal Employer

METADATA|SeniorityDate|SeniorityDateCode|PersonNumber|EntryDate|EffectiveStartDate|EffectiveEndDate|BusinessUnitShortCode|ManualAdjustmentDays|ManualAdjustmentComments|LegalEmployer

MERGE|SeniorityDate|XXTEST_LE|XXTEST1|2012/01/01|2015/01/01|4712/12/31|US Business Unit|20|Data Correction|US Legal Employer

๐Ÿ“‚ HDL File Structure (Recommended)

Your zip should look like this:

SeniorityDateLoad.zip └── Worker.dat

Upload from:

Data Exchange → HCM Data Loader → Import and Load


⚠️ Common HDL Errors and Fixes

❌ Error: ManualAdjustmentComments is required

✅ Fix: Always include ManualAdjustmentComments if using manual adjustment.


❌ Error: SeniorityDateCode invalid

✅ Fix: Verify rule exists and use correct code or exact rule name.


❌ Error: No matching seniority date component found

✅ Fix: Your identifying fields (job, dept, assignment, etc.) don’t match the configured rule level.


๐Ÿ”— Internal Links 


❓ FAQ 

Q1. Can we update seniority dates using HDL?

Yes. You can update V3 seniority dates using the SeniorityDate business object in HDL.


Q2. Which HDL operation is used for seniority date updates?

Typically, MERGE is used to update or insert seniority date records.


Q3. Is ManualAdjustmentComments mandatory?

Yes, if you provide ManualAdjustmentDays, then ManualAdjustmentComments is mandatory.


Q4. Can we use rule name instead of SeniorityDateCode?

Yes, Oracle allows using the seniority date rule name instead of code in some setups.


Q5. Can we update seniority date based on work relationship?

Yes. You can use Work Relationship identifiers like WorkerType, LegalEmployerName, and DateStart.

✅Flow Chart

Seniority Dates In Oracle Fusion

 

๐Ÿ’ฌ Feedback & Comments

If this HDL Seniority Date post helped you, please drop a comment below ๐Ÿ™Œ

✅ You can share:

  • Your HDL error message (if any)

  • Your Worker.dat snippet (remove sensitive data)

  • Which Seniority Date rule you are using (Person / Assignment / Work Relationship)

  • Any new use case you want me to cover

I read every comment and will reply with the best possible solution. ๐Ÿ˜Š


No comments:

Post a Comment

Oracle HCM HDL: Load Seniority Date Adjustments

  ✅ Oracle HCM HDL: Load / Update Seniority Date Adjustments (V3) – Examples + Worker.dat Templates Seniority Date in Oracle HCM is the dat...