Tuesday, 20 April 2021

🏦 How to Load Bank and Bank Branch Details Using HDL in Oracle Fusion HCM (Bank.dat + BankBranch.dat)

Using Bank.dat and BankBranch.dat (Step-by-Step Guide)

In Oracle Fusion HCM, bank and bank branch records are commonly required for payroll implementations, employee payment methods, and external bank integrations.

Instead of manually creating bank and branch records in the UI, Oracle provides a faster method using HCM Data Loader (HDL).

In this guide, you’ll learn:

  • How to load Bank using Bank.dat

  • How to load Bank Branch using BankBranch.dat

  • Sample HDL templates

  • Best practices, common issues, FAQs


You can see step by step video to load Bank and Bank Branch Details using this Link

✅ Prerequisites

Before loading bank data using HDL, ensure:

  • You have access to HCM Data Loader

  • You have required roles to load banking data

  • You have correct details like:

    • Bank Name

    • Country Code

    • Bank Number

    • Branch Number

    • Swift Code (optional)


📌 Important Note

✔ Always load Bank first, then load Bank Branch.

Because Bank Branch uses BankName as a reference.


🏦 Part 1: Load Bank Details Using Bank.dat

Step 1: Create Bank.dat file

Use the below HDL template:

✅ Sample HDL File for Bank

METADATA|Bank|BankName|CountryCode|BankNumber|
SourceSystemOwner|SourceSystemId
MERGE|Bank|American Bank|US|Test123|XXTEST|
XXTEST_BANKTest123

Field Explanation (Quick)

  • BankName → Bank name as required in Fusion

  • CountryCode → Example: US, IN, AE

  • BankNumber → Unique identifier for the bank

  • SourceSystemOwner → Your HDL source (example XXTEST)

  • SourceSystemId → Unique record ID (must be unique)


Step 2: Zip and Upload

  1. Save file name as: Bank.dat

  2. Compress into zip file:

    • Example: Bank.zip

  3. Navigate to:

My Client Groups → Data Exchange → HCM Data Loader → Import and Load

  1. Upload ZIP and load


🏦 Part 2: Load Bank Branch Details Using BankBranch.dat

Once Bank is created successfully, load branches.


Step 1: Create BankBranch.dat file

✅ Sample HDL File for Bank Branch

METADATA|BankBranch|BankName|BankBranchNumber|BankBranchName|CountryCode|
EftSwiftCode|SourceSystemOwner|SourceSystemId MERGE|BankBranch|American Bank|123|AMC123|US||XXTEST
|XXTEST_BANKBRANCHAM123

Field Explanation (Quick)

  • BankName → Must match the bank name already loaded

  • BankBranchNumber → Branch identifier

  • BankBranchName → Branch name

  • CountryCode → Same as bank country

  • EftSwiftCode → Optional (Swift/BIC code)

  • SourceSystemId → Unique record ID


Step 2: Zip and Upload

  1. Save file name as: BankBranch.dat

  2. Zip it:

    • Example: BankBranch.zip

  3. Upload using:

My Client Groups → Data Exchange → HCM Data Loader → Import and Load


✅ Best Practices (Highly Recommended)

  • Always load Bank first, then BankBranch

  • Keep SourceSystemId unique for every record

  • Use meaningful SourceSystemId naming like:

    • XX_BANK_US_001

    • XX_BRANCH_US_001

  • Maintain a tracker Excel for:

    • Bank Name

    • Bank Number

    • Branch Number

    • Swift Code

  • Validate country code is correct (ISO format)


⚠️ Common Issues and Fixes

Issue 1: Bank Branch fails with “Bank not found”

✅ Fix:
Bank must exist before branch load. Load Bank.dat first.

Check Bank reference in Bank Branch file is correct.


Issue 2: Duplicate record error

✅ Fix:
Change SourceSystemId and ensure it is unique.


Issue 3: CountryCode mismatch

✅ Fix:
CountryCode in BankBranch must match the Bank’s country.


⭐ FAQ

1. Which HDL files are used to load bank and bank branches?

You should use:

  • Bank.dat for bank records

  • BankBranch.dat for branch records


2. Do we need to load bank before bank branch?

Yes. Bank must exist first because bank branch references the bank name.


3. Can we load multiple banks in one HDL file?

Yes. Add multiple MERGE lines:

METADATA|Bank|BankName|CountryCode|BankNumber|SourceSystemOwner|SourceSystemId MERGE|Bank|American Bank|US|Test123|XXTEST|XXTEST_BANK_001 MERGE|Bank|Global Bank|IN|GB001|XXTEST|XXTEST_BANK_002

4. Can we load multiple branches for the same bank?

Yes. Add multiple MERGE lines in BankBranch.dat.


5. Is Swift Code mandatory in BankBranch.dat?

No. It is optional, but recommended if required for EFT / international payments.


6. Where can we verify banks and branches in Fusion?

You can verify from:

Setup and Maintenance → Manage Banks
(or Bank-related setup tasks depending on your configuration)

Tuesday, 13 April 2021

Oracle Fusion HCM: Assigned Payroll HDL – Complete Template & Example (AssignedPayroll.dat)


🔹 Introduction: What is Assigned Payroll HDL?

In Oracle Fusion HCM, assigned payroll determines the payroll schedule and payroll definition for an employee’s assignment.

Using AssignedPayroll.dat via HCM Data Loader (HDL) allows you to:

  • Assign payroll definitions like Weekly, Monthly, or Biweekly

  • Link legislative data groups for country-specific payroll rules

  • Ensure accurate payroll processing

  • Avoid manual assignment errors


You can see step by step video to load Assigned Payroll details of worker using this Link


🔹 Prerequisites

Before loading Assigned Payroll HDL, ensure:

  1. Worker assignment exists (AssignmentNumber)

  2. Payroll definitions are configured in Oracle HCM

  3. Legislative data groups are correctly set

  4. Unique Source System identifiers are used


🔹 Objects Required

ObjectPurpose
AssignedPayrollAssigns payroll definitions to a worker’s assignment and links to legislative data groups

🔹 Sample AssignedPayroll.dat Template

File Name - AssignedPayroll.dat

METADATA|AssignedPayroll|EffectiveStartDate|AssignmentNumber|PayrollDefinitionCode|LegislativeDataGroupName|StartDate

MERGE|AssignedPayroll|2021/04/09|XXTEST_ASSIGN1|Weekly|US Legislative Data Group|2021/04/09


🔹 Field Explanation (Infographic Ready)

Assigned Payroll Key fields
Assigned Payroll Keyfields




🔹 Step-by-Step Process to Load Assigned Payroll Using HDL

Step 1️⃣ Prepare AssignedPayroll.dat

  • Use correct AssignmentNumber

  • Validate PayrollDefinitionCode

Step 2️⃣ Upload File in Oracle HCM

Navigation:
Tools → HCM Data Loader → Import and Load Data

Step 3️⃣ Monitor HDL Process

Check status:
✔ Completed
❌ Error

Step 4️⃣ Validate in Oracle HCM UI

Person Management → Payroll Relationship 


🔹 Common Errors & Resolutions

Common Issues in Assigned Payroll Load

Thursday, 8 April 2021

Oracle Fusion HCM: Element Entry HDL – Complete Template & Examples (ElementEntry.dat)


🔹 Introduction: What is Element Entry HDL?

Learn how to load element entry details for workers in Oracle Fusion HCM using ElementEntry.dat and ElementEntryValue.dat files. Complete HDL templates, step-by-step guide, common errors, troubleshooting, and FAQ included.

In Oracle Fusion HCM, element entries allow you to define payroll elements such as allowances, deductions, or benefits for employees.

Using ElementEntry and ElementEntryValue via HCM Data Loader (HDL) enables you to:

  • Load bulk element entries for multiple workers

  • Maintain consistency in payroll calculations

  • Avoid manual data entry errors

  • Manage repetitive or complex payroll elements efficiently

You can see step by step video to element entry details of worker using this ElementEntry.dat


🔹 Prerequisites

Before loading Element Entry HDL, ensure:

  1. Worker/assignment exists (AssignmentNumber must be valid)

  2. Element names are configured in Oracle HCM

  3. Legislative data groups are correctly set

  4. Source system identifiers are unique for each entry


🔹 Objects Required

ObjectPurpose
ElementEntryDefines the payroll element entry for an assignment
ElementEntryValueDefines specific values for each element entry (amount, periodicity, flags)

🔹 Sample HDL Templates

ElementEntry

METADATA|ElementEntry|EffectiveEndDate|EffectiveStartDate|ElementName|LegislativeDataGroupName|MultipleEntryCount|EntryType|AssignmentNumber|SourceSystemOwner|SourceSystemId|ReplaceLastEffectiveEndDate

MERGE|ElementEntry|4712/12/31|2021/04/06|Housing Allowance Expat|US Legislative Data Group||E|XXTEST_ASSIGN1|XXTEST|XXTEST_ENTRY2|

ElementEntryValue.dat

METADATA|ElementEntryValue|EffectiveEndDate|EffectiveStartDate|InputValueName|ScreenEntryValue|AssignmentNumber|ElementName|LegislativeDataGroupName|ElementEntryId(SourceSystemId)|SourceSystemOwner|SourceSystemId|ReplaceLastEffectiveEndDate

MERGE|ElementEntryValue|4712/12/31|2021/04/06|Periodicity|PRD|XXTEST_ASSIGN1|Housing Allowance Expat|US Legislative Data Group|XXTEST_ENTRY2|XXTEST|XXTEST_ENTRYVALUE4|

MERGE|ElementEntryValue|4712/12/31|2021/04/06|Amount|100|XXTEST_ASSIGN1|Housing Allowance Expat|US Legislative Data Group|XXTEST_ENTRY2|XXTEST|XXTEST_ENTRYVALUE5|

MERGE|ElementEntryValue|4712/12/31|2021/04/06|Process Separately|Y|XXTEST_ASSIGN1|Housing Allowance Expat|US Legislative Data Group|XXTEST_ENTRY2|XXTEST|XXTEST_ENTRYVALUE6|


🔹 Field Explanation (Infographic Ready)

Element Entry Key Fields




🔹 Step-by-Step Process to Load Element Entries Using HDL

  1. Prepare ElementEntry.dat and ElementEntryValue.dat

  2. Validate AssignmentNumber and element reference data

  3. Zip the files into a single HDL package

  4. Go to Tools → HCM Data Loader → Upload

  5. Submit the load process and monitor status

  6. Verify element entries in the employee’s assignment


🔹 Common Errors & Resolutions

Common Errors in Element Entry Load




🔹 FAQ – Oracle Fusion HCM Element Entry HDL

1️⃣ What is ElementEntry HDL in Oracle HCM?

It allows bulk loading of payroll element entries such as allowances, deductions, and benefits.

2️⃣ Which files are required for element entry load?

ElementEntry and ElementEntryValue metadata are mandatory.

3️⃣ How to load multiple elements for one assignment?

Include multiple ElementEntry records with unique SourceSystemId. Use ElementEntryValue for specific amounts/flags.

4️⃣ Can I overwrite previous entries using HDL?

Yes, set ReplaceLastEffectiveEndDate = Y to overwrite older entries.

5️⃣ Why am I seeing “element not created” error?

  • Invalid AssignmentNumber

  • Element not configured in Oracle HCM

  • Dates not valid

  • Duplicate SourceSystemId

Person Contact HDL in Oracle Fusion HCM – Complete Guide with Contact.dat Template


🔹 Introduction: Why Load Person Contact Using HDL?

In Oracle Fusion HCM, person contact details include email addresses, phone numbers, emergency contacts, dependents, and beneficiaries.
Loading these contacts using HDL allows bulk updates and avoids manual entry.

This is essential for:

  • Employee onboarding

  • Emergency contact management

  • Payroll and benefits integration

  • Accurate HR reporting

You can see step by step video to load person contact details using this Link


🔹 Prerequisites

Before loading Contact.dat, ensure:

  1. Worker/person exists in Oracle HCM (PersonNumber must be valid)

  2. Source system codes are configured correctly

  3. Legislation codes are set (e.g., US, GLOBAL)

  4. Contact types and relationships are defined in reference data


🔹 Objects Required for Person Contact HDL

ObjectPurpose
ContactLoads person contact records (start date, end date)
ContactNameLoads names for the contact (first, middle, last, title)
ContactRelationshipDefines relationships (emergency, dependent, beneficiary, bondholder)

🔹 Sample HDL Templates (Contact.dat hdl template)

  • Contact Metadata - Covers Start Date,End Date of Contact

METADATA|Contact|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|PersonNumber|StartDate

MERGE|Contact|XXTEST|XXTEST_PERCNT2|2019/09/01|4712/12/31|XXTEST_CNT1|2019/09/01

  • ContactName Metadata - Covers Name of the Person contact

METADATA|ContactName|SourceSystemOwner|SourceSystemId|PersonId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|LegislationCode|NameType|FirstName|MiddleNames|LastName|Title

MERGE|ContactName|XXTEST|XXTEST_CNTNM2|XXTEST_PERCNT2|2019/09/01|4712/12/31|US|GLOBAL|ADAM||TEST|MR.

  • ContactRelationship Metadata - Covers Relation of Person Contact with Worker

METADATA|ContactRelationship|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|PersonId(SourceSystemId)|RelatedPersonId(SourceSystemId)|ContactType|BeneficiaryFlag|DependentFlag|EmergencyContactFlag|BondholderFlag

MERGE|ContactRelationship|XXTEST|XXTEST_CREL_CNT2|2019/09/01|4712/12/31|XXTEST_PERCNT2|XXTEST_PER1|Emergency|||Y|


🔹 Field Explanation (Infographic Ready)

FieldDescription
SourceSystemOwnerSource system that owns the record
SourceSystemIdUnique ID from source system
PersonNumberOracle Fusion employee number
EffectiveStartDateStart date of contact record
EffectiveEndDateEnd date of contact record
LegislationCodeCountry/region (e.g., US, GLOBAL)
NameTypeType of contact name (GLOBAL, LOCAL)
ContactTypeEmergency, Dependent, Beneficiary, Bondholder
EmergencyContactFlagY = Yes, this is emergency contact
DependentFlagY = Yes, this is dependent
BeneficiaryFlagY = Yes, this is beneficiary
BondholderFlagY = Yes, this is bondholder

🔹 Step-by-Step Process to Load Person Contact Using HDL

  1. Prepare Contact , ContactName , and ContactRelationship metadata

  2. Validate PersonNumber and reference data

  3. Zip files in a single HDL upload package

  4. Go to Tools → HCM Data Loader → Upload

  5. Submit process and monitor load status

  6. Verify contact records


🔹 Common Errors & Resolutions

IssueResolution
Contact not createdVerify PersonNumber exists
No change after loadCheck EffectiveStartDate and EffectiveEndDate
Invalid ContactTypeValidate reference data setup
Missing NameEnsure ContactName loaded correctly
Emergency/Dependent flag not updatedVerify flags (Y/N)

🔹 Best Practices

  • Always test in test environment first

  • Validate PersonNumber before upload

  • Use unique SourceSystemId for each contact

  • Keep EffectiveStartDate/EndDate consistent

  • Use separate files for Contact, ContactName, ContactRelationship


🔹 Internal Linking (SEO Boost)

Link this post to:

HDL Template for Person Profile Photo

 For this use  Worker.dat

You can see step by step video to upload the profile photo of worker using this Link

Please find the below sample template :

Save the Blob images in BlobFiles folder and make zip of both .dat and BlobFiles folder 

METADATA|PersonImage|SourceSystemOwner|SourceSystemId|PersonNumber|Image|ImageName|PrimaryFlag

MERGE|PersonImage|XXTEST|XXTEST_PER_IMAGE1|XXTEST2|images.jpeg|XXTEST2|Y

🔥 Oracle HDL Terminate Template (WorkRelationship) with Example & Errors


✅What We Will Cover in This Blog Section (Oracle HDL Blog)

Learn how to terminate a worker in Oracle Fusion HCM using HDL with complete WorkRelationship template, prerequisites, sample .dat file, common errors, and troubleshooting guide.

Oracle Fusion HCM Global Transfer Using HDL – Complete Template, Examples & Errors


🧩 Introduction (SEO + User Intent)

Learn how to perform Global Transfer in Oracle Fusion HCM using HDL with complete WorkRelationship, WorkTerms, and Assignment templates. Includes sample .dat files, common errors, troubleshooting, and best practices.

Global Transfer in Oracle Fusion HCM is used when an employee moves from one legal employer to another within the organization.
This process can be automated using HDL (HCM Data Loader) by updating WorkRelationship, WorkTerms, and Assignment objects.

In this blog, you will learn:

  • What is Global Transfer in Oracle Fusion HCM

  • Prerequisites for Global Transfer using HDL

  • Complete HDL template with examples

  • Explanation of each HDL object

  • Common errors and troubleshooting

  • Best practices for Global Transfer


✅ Prerequisite for Global Transfer using HDL

Before performing Global Transfer, ensure the following:

  1. Worker data must already exist in the system. Worker Sample Load

  2. PersonNumber must be valid.

  3. Legal Employer must exist in the target country.

  4. Business Unit, Job, Grade, Location, Department must be configured.

  5. Worker.dat file should be loaded earlier.

👉 Worker.dat is mandatory before performing Global Transfer.


You can see step by step video to do global transfer of worker using this Link



🧠 What Objects Are Required for Global Transfer?

For Global Transfer, you must load:

ObjectPurpose
WorkRelationshipCreates new legal employer relationship
WorkTermsUpdates employment terms
AssignmentUpdates assignment details

✅ For Global Transfer, all three objects are required.


📄 HDL Template for Global Transfer of Worker

1️⃣ WorkRelationship (Global Transfer Flag)

METADATA|WorkRelationship|PersonNumber|LegalEmployerName|DateStart|ActualTerminationDate|PrimaryFlag|WorkerNumber|WorkerType|RehireRecommendationFlag|OnMilitaryServiceFlag|ActionCode|ReasonCode|DateOfDeath|GlobalTransferFlag

MERGE|WorkRelationship|XXTEST2|US3 Legal Entity|2021/01/05||Y|XXTEST2|E|Y|N|GLB_TRANSFER|||Y


🔍 Explanation

  • ActionCode = GLB_TRANSFER → Indicates global transfer

  • GlobalTransferFlag = Y → Mandatory for global transfer

  • LegalEmployerName → New legal employer

HDL vs HSDL in Oracle HCM Cloud

  ✅ HSDL vs HDL in Oracle HCM Cloud – What’s the Difference? (Complete Guide) If you work on Oracle HCM Cloud , you’ve definitely heard abo...