Load Salaries with Pay Rate Components in Oracle HCM HDL

Loading salary data in Oracle HCM using HDL is usually quite simple — until Salary Components enter the picture ๐Ÿ˜„

If your organization uses:

  • CTC structures
  • Basic/HRA splits
  • Derived salary calculations
  • Pay Rate Definitions
  • Element-entry based components

then salary loading becomes a little more interesting.

In this post, we’ll look at how to load salaries using Salary Pay Rate Components in HDL.

 

๐Ÿš€ The Challenge

A simple salary load only requires the:

Salary

business object.

But when salary components are involved, we need to handle:

  • Different component types
  • Auto-calculated components
  • Pay rate definitions
  • Element entry creation
  • Derived salary logic

That’s where many migrations become tricky.

 

๐Ÿ“ฆ Objects Required

To load salary with pay rate components, we need 2 HDL objects:

Object

Purpose

Salary

Creates the salary record

SalaryPayRateComponent

Creates individual salary component lines

 

๐Ÿงพ 1. Salary Object

The Salary object is loaded normally, but two attributes become very important:

Attribute

Value

Why It Matters

MultipleComponents

Y

Indicates the salary has multiple components

ComputeSalaryRates

Y

Enables Oracle to calculate derived components automatically

 

Why ComputeSalaryRates = Y is Powerful

This attribute can save a lot of manual effort.

If:

  • only one component is user-enterable
  • remaining components are formula/derived based

then you only need to pass the editable component amount.

Oracle automatically:
Calculates remaining components
Applies salary formulas
Creates element entries (if applicable)

Very useful during bulk migrations.

 

๐Ÿงฉ 2. SalaryPayRateComponent Object

This object represents the actual component lines.

๐Ÿ‘‰ One component = One line

So if you have:

  • Basic
  • HRA
  • Special Allowance
  • CTC

then each component gets its own SalaryPayRateComponent record.

 

๐Ÿ”‘ Important Attributes

Attribute

Description

RateAmount

Amount for the component

RateDefinitionCode

Pay Rate Definition short code

 

๐Ÿ“„ Sample HDL

METADATA|Salary|AssignmentId(SourceSystemId)|DateFrom|DateTo|SalaryAmount|SalaryBasisName|MultipleComponents|ComputeSalaryRates|ActionCode|SourceSystemOwner|SourceSystemId

MERGE|Salary|ASG123|2026/01/01||120000|Monthly Salary Basis|Y|Y|ASG_CHANGE|HDL|SALARY123

 

METADATA|SalaryPayRateComponent|AssignmentId(SourceSystemId)|SalaryId(SourceSystemId)|SalaryDateFrom|SalaryDateTo|RateAmount|RateDefinitionCode|SourceSystemId|SourceSystemOwner

MERGE|SalaryPayRateComponent|ASG123|SALARY123|2026/01/01||120000|CTC|CTC123|HDL


Comments

Popular posts from this blog

Changing Legal Employer or Work Type Using Cancel Work Relationship