Showing posts with label Work Relationship. Show all posts
Showing posts with label Work Relationship. Show all posts

Monday, 28 February 2022

How to Change Non-Primary Work Relationship to Primary Using Worker.dat (Oracle Fusion HDL)

  


How to Change Non-Primary Work Relationship to Primary Using Worker.dat (Oracle Fusion HDL)

Introduction

In Oracle Fusion HCM, an employee can have only one Primary Work Relationship at any given time.

During data corrections or integrations, you may encounter a requirement to change an existing non-primary work relationship to primary.

Oracle Fusion allows this update using HCM Data Loader (HDL) by passing specific attributes in the Worker.dat file.

This blog explains:

  • When this scenario occurs

  • Required HDL attributes

  • Sample Worker.dat template

  • What happens after upload

Thursday, 8 April 2021

HDL Template to Reverse Termination of Worker in Oracle Fusion HCM

HDL Template for Reverse Termination of Worker in Oracle Fusion HCM

Introduction

In Oracle Fusion HCM, there are scenarios where an employee is terminated by mistake or needs to be rehired with original service details intact. Instead of creating a new work relationship, Oracle provides a way to reverse the termination using HCM Data Loader (HDL).

This blog explains how to reverse a worker termination using HDL, prerequisites, sample Worker.dat template, and common mistakes to avoid.

You can see step by step video to reverse termination of worker using this Link


What Is Reverse Termination in Oracle Fusion?

Reverse termination restores a previously terminated worker by:

This is commonly used when:

  • Termination was loaded incorrectly

  • Incorrect termination date was applied

  • HR wants to undo a termination action


Prerequisites

Before reversing a termination using HDL, ensure:

  1. Worker data already exists
    (Refer to sample Worker.dat for loading worker)

  2. Worker is already terminated
    (Termination must be completed successfully via UI or HDL)

  3. Correct SourceSystemOwner and SourceSystemId are known for:

    • WorkRelationship

    • Person


Object Used for Reverse Termination

To reverse termination, you must use the WorkRelationship object in Worker.dat.


HDL Template for Reverse Termination of Worker

Sample HDL Template

METADATA|WorkRelationship|SourceSystemOwner|SourceSystemId|
PersonId(SourceSystemId)|PersonNumber|DateStart|WorkerType|
LegalEmployerName|ReverseTerminationFlag
MERGE|WorkRelationship|XXTEST|XXTEST_PDSERVICE2|XXTEST_PER2|
XXTEST2|2018/01/01|E|US1 Legal Entity|Y

Steps to Reverse Termination Using HDL

  1. Prepare Worker.dat with WorkRelationship object

  2. Set ReverseTerminationFlag = Y

  3. Zip the file

  4. Navigate to:

    My Client Groups → Data Exchange → Import and Load Data
  5. Upload and submit the HDL zip

  6. Monitor process status

  7. Validate worker record in UI


Post Load Validation Checklist

After successful load, verify:

  • Worker status is Active

  • Assignment is restored

  • Termination dates are cleared

  • No new work relationship created


Common Errors & Troubleshooting

Reverse Termination Common Issues



When NOT to Use Reverse Termination

Do not use reverse termination if:

  • Employee must be rehired as a new hire

  • Legal employer has changed

  • Service history must restart

In these cases, perform a new hire action instead.


Best Practices

✅ Always confirm termination exists before reversal
✅ Use original WorkRelationship SourceSystemId or User Keys
✅ Validate in lower environments first
✅ Avoid mixing reverse termination with assignment updates


Related Articles


Conclusion

Reverse termination using HDL is a powerful feature when handled correctly. By setting the ReverseTerminationFlag to Y on the WorkRelationship object, you can quickly restore an employee without data loss.

If you frequently work with Oracle Fusion HCM HDL, mastering reverse termination can save hours of manual correction.


HDL Template for Dependent Enrollment in Oracle Fusion HCM

  HDL Template for Dependent Enrollment in Oracle Fusion HCM (Using DependentEnrollment.dat ) Introduction In Oracle Fusion HCM , Depend...