Thursday, 8 April 2021

Oracle Assignment Supervisor HDL Template with Example | Worker.dat Guide

Oracle Assignment Supervisor HDL Template with Example | Worker.dat Guide


Overview

In Oracle Fusion HCM, assignment supervisor details (such as Line Manager) can be loaded or updated using HCM Data Loader (HDL). To load an assignment supervisor, Oracle uses the Worker.dat file with the AssignmentSupervisor business object.

You can see step by step video to load assignment supervisor using this Link

This blog explains:

  • Prerequisites for loading Assignment Supervisor

  • HDL template and sample data

  • Key attributes and explanations

  • Common errors and troubleshooting


Prerequisites

Before loading assignment supervisor data, ensure the following:

  1. Worker data must already be loaded

  2. Assignment and Manager details

    • Both employee and manager must have valid assignments.

    • Manager person and assignment must exist on or before the supervisor effective date.

📌 Note: Assignment Supervisor data is loaded using the Worker.dat file, not a separate HDL file.


HDL File Used

Worker.dat


Assignment Supervisor HDL Template

METADATA Section

METADATA|AssignmentSupervisor|AssignmentId(SourceSystemId)|SourceSystemOwner
|SourceSystemId|EffectiveStartDate|EffectiveEndDate|
ManagerAssignmentId(SourceSystemId)|ManagerId(SourceSystemId)|
ManagerType|PersonId(SourceSystemId)|PrimaryFlag

Sample MERGE Data

MERGE|AssignmentSupervisor|XXTEST_ASSIGN2|XXTEST|XXTEST_MANAGER1
|2018/01/01|4712/12/31|XXTEST_ASSIGN1|XXTEST_PER1|LINE_MANAGER|
XXTEST_PER2|Y

Common Use Cases

  • Load Line Manager during employee migration

  • Update reporting manager

  • Correct supervisor details

  • Bulk manager changes using HDL


Common Errors & Troubleshooting

Assignment Supervisor Issue



Best Practices

  • Always validate Assignment and Manager SourceSystemIds

  • Use 4712/12/31 as EffectiveEndDate for active supervisors

  • Avoid overlapping primary supervisors

  • Test with a single record before bulk load


Frequently Asked Questions (FAQ)

❓ Which HDL file is used to load Assignment Supervisor?

Assignment Supervisor data is loaded using the Worker.dat file.

❓ Can I update an existing manager using HDL?

Yes, use the same SourceSystemId with updated manager details.

❓ Can I load multiple supervisors?

Yes, but only one primary supervisor is allowed per assignment.

❓ What ManagerType should I use for reporting manager?

Use LINE_MANAGER for standard reporting hierarchy.

❓ Can I end-date a supervisor using HDL?

Yes, update the EffectiveEndDate with the required date.

🔗 Related Articles (Internal Linking)

  • 🔗 Load Worker Data Using HCM Loader

  • 🔗 Common Errors During Worker HDL Load

  • 🔗 HDL Template for Dependent Enrollment

  • 🔗 How to develop eText BIP Report



No comments:

Post a Comment

HDL Template for Dependent Enrollment in Oracle Fusion HCM (DependentEnrollment.dat)

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