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
Post a Comment