Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

1

SAMPLE HDL FILES FOR LOADING WORKER


LOADING WORKER RECORD USING HDL TEMPLATE

Introduction
Data Migration is one of the most important yet most challenging task which needs to be accomplished in any ERP Implementation project. Different ERP system
provide different tools for loading data into the system. Oracle HCM Cloud also provides multiple ways via which we can load data into the system. The available ones
till date being (as of Application Release 13):
1. Manual Data Entry via UI
2. HDL (HCM Data Loader)
3. HSDL (HCM Spreadsheet Data Loader)
4. Web-Service

Out of all the above options HDL is the recommended way of loading huge volume of data and is used for inbound integration. Also HDL Load supports data load
using Web Service ( One Webservice Loads the HDL Files into UCM Server and the second one loads the data using HCM Data Loader Service).
In this article I will try to explain how to load some worker records into the HCM System. We would need to perform certain steps in order to achieve the same. They
are:
1. Configure Source System Owner
2. Identify a pre-existing Legal Employer and Business Unit to which all the worker records would be associated.
3. Load specific workforce structure components (namely Location, Organization, Job, Grade and Position) which would be associated with Worker’s
Assignment Details
4. Load Worker Records without Assignment Supervisor Details
5. Load Assignment Supervisor Details.

Let-us get started then:


1. Configure Source System Owner
For this example, we would add a Source System Owner (HA for this example) which will be active from 01-Jan-2018 to 31-Dec-4712.We need to login to the
application with user having appropriate privileges and then follow below navigation:
Navigator -> Setup and Maintenance -> (Click on Task List and click on “Search”)

Once you click on the “Search” link you need to search for “Manage Common Lookups” and then search for Lookup Type as “HRC_SOURCE_SYSTEM_OWNER”
and add new entry as shown:
Once added we can save the record.

1
2
2.Identifying Pre-Existing Legal Employer and Business Unit
We assume that the basic configuration is already been done in the HCM System and at least one Legal Employer and Business Unit has been configured (if the same is
not done one may configure the same via UI).In this example we have checked and found that there exists a Legal Employer with name “US1 Legal Entity” and also a
Business Unit with name “US1 Business Unit”.We can verify the existence of Legal Employer by searching for the same (US1 Legal Entity) using Manage Legal
Entity HCM Information task under Setup and Maintenance

In order to verify the existence of Business Unit we need to do search for the same (US1 Business Unit) using Manage Business Units task under Setup and
Maintenance

And with this we have successfully verified the existence of Legal Employer and Business Unit details which would be used in the subsequent steps.
3. Loading Basic Work-Structure Components (Location, Organization, Job, Grade and Position)
In this step we would try to manually create HDL Templates and try to load the same into the application.
We would be having five different files namely:
a. Location.dat

a. Organization.dat

2
3
a. Job.dat

a. Grade.dat

Position.dat

We will zip all these files (WorkstructureComponents.zip ) , One point to note here is that the files needs to be zipped directly ( one should not keep the files in folder if
you do so you will encounter error during file load)

3
4
Next we need to click on “Data Exchange” and click on “Import and Load Data”

Verification
We could clearly see that the load has been successful, but still it makes sense to search for these records for verification ( One should navigate to Navigator -> My
Workforce-> Workforce Structures)

We can clearly see that all the work-structure components have been successfully uploaded into the application and we could view the same from the UI too.

4
5
4. Load Worker Records without Assignment Supervisor Details
Now we would continue with the next step where we will try to load the worker records. The file we are trying to load has many Metadata Contents
a)Metadata (Worker)
Details about important fields:
SourceSystemOwne HA
r

SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2)

PersonNumber HA<SEQ> (example HA1, HA2...)

ActionCode HIRE

b)Metadata (PersonName)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_PERNAME<SEQ> (example HA_PERNAME1, HA_PERNAME2)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

NameType GLOBAL

c)Metadata (PersonNationalIdentifier)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_NID<SEQ> (example HA_NID1, HA_NID2)

PersonId(SourceSystemId) HA_PER<SEQ> (example HA_PER1, HA_PER2...)

NationalIdentifierType SSN

5
6

d) Metadata (PersonEmail)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_EMAIL<SEQ> (example HA_EMAIL1, HA_EMAIL2)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

EmailType W1

e)Metadata (PersonPhone)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_WPH<SEQ> / HA_HPH<SEQ> (example HA_WPH1, HA_HPH1)

PhoneType W1 / H1 (  W1 for WorkPhone and H1 for HomePhone)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

f)Metadata (PersonAddress)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_ADDR<SEQ>   (example HA_ADDR1, HA_ADDR2)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

AddressType HOME

6
7

g)Metadata (PersonCitizenship)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_CTZSHIP<SEQ>   (example HA_CTZSHIP1, HA_CTZSHIP2)

PersonId(SourceSystemId) HA_PER<SEQ> (example HA_PER1, HA_PER2...)

h)Metadata (PersonEthnicity)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_ETHNIC<SEQ>   (example HA_ETHNIC1, HA_ETHNIC2)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

Ethnicity 1 , 2, 8 , 6 , 7 (Check for valid codes in application)

i)Metadata (PersonLegislativeData)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_LEG<SEQ>   (example HA_LEG1, HA_LEG2)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

LegislationCode US

7
8

j)Metadata ( WorkRelationship)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_PDSERVICE<SEQ>(example HA_PDSERVICE1)

PersonId(SourceSystemId HA_PER<SEQ> (example HA_PER1, HA_PER2...)


)

LegalEmployerName US1 Legal Entity

WorkerNumber HA<SEQ> (example HA1, HA2 …)

k)Metadata (WorkTerms)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_WRKTERM<SEQ>(example HA_WRKTERM1)

PersonId(SourceSystemId) HA_PER<SEQ> (example HA_PER1, HA_PER2...)

PeriodOfServiceId(SourceSystemId HA_PDSERVICE<SEQ>  (example HA_PDSERVICE1)


)

ActionCode HIRE

AssignmentNumber HA_WRKTERM<SEQ>(example HA_WRKTERM1)

AssignmentType ET / CT ( ET for Employee , CT for Contingent Worker)

BusinessUnitShortCode US1 Business Unit

LegalEmployerName US1 Legal Entity

SystemPersonType EMP / CWK ( EMP for Employee , CWK for Contingent Worker)

8
9

l)Metadata (Assignment)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_ASSIGN<SEQ>(example HA_ASSIGN1)

PersonId(SourceSystemId) HA_PER<SEQ> (example HA_PER1, HA_PER2...)

ActionCode HIRE

AssignmentName E-HA<SEQ> (example E-HA1 , E-HA2 )

AssignmentNumber HA_ASSIGN<SEQ>(example HA_ASSIGN1)

AssignmentType E / C ( E for Employee , C for Contingent Worker)

BusinessUnitShortCode US1 Business Unit

LegalEmployerName US1 Legal Entity

SystemPersonType EMP / CWK ( EMP for Employee , CWK for Contingent Worker)

JobId(SourceSystemId) HA_JOB<SEQ> (example HA_JOB1)

LocationId(SourceSystemId) HA_LOC<SEQ> (example HA_LOC1)

OrganizationId(SourceSystemId) HA_DEPT<SEQ> (example HA_DEPT1)

PositionId(SourceSystemId) HA_POS<SEQ> (example HA_POS1)

GradeId(SourceSystemId) HA_GRADE<SEQ> (example HA_GRADE1)

PeriodOfServiceId(SourceSystemId) HA_PDSERVICE<SEQ> (example HA_PDSERVICE1)

WorkTermsAssignmentId(SourceSystemId HA_WRKTERM<SEQ> (example HA_WRKTERM1)


)

9
10

m)Metadata (Assignment Supervisor)


We would not load the Assignment Supervisor at the first instance of worker load (as already mentioned in the beginning). Details about important attributes of this
metadata would be discussed later when we load the assignment supervisor details.

n)Metadata (AssignmentWorkMeasure)
Details about important fields:
SourceSystemOwner HA

SourceSystemId HA_WRKFTE<SEQ> / HA_WRKHEAD<SEQ>   (example HA_WRKFTE1 / HA_WRKHEAD1)

AssignmentId(SourceSystemId) HA_ASSIGN<SEQ> (example HA_ASSIGN1, HA_ASSIGN2...)

ActionCode HIRE / ADD_CWK ( HIRE for Employee and ADD_CWK for Contingent Worker)

Unit FTE / HEAD ( FTE for Full Time Equivalent and HEAD for Headcount)

o)Metadata (PersonUserInformation)
Details about important fields:
PersonNumber HA<SEQ> ( example HA1 , HA2 ,….)

UserName <FirstName>.<LastName>@<sourcesystemowner>.com
Example ( [email protected])

10
11

Now that we have got an idea of the various Business Entity and their key data fields ( along with the mapping logic used for them) we may proceed with creating a zip
file (InitialWorkerLoad.zip) and try to upload the same to the application

We could see that we have tried to upload the files twice ( this is because during the first run we encountered some error and in the first run only 7 user records got
created) . In the second run the balance 3 user records along with the entities which failed during first run were loaded.
Verification
In this case we had to run the process multiple times and none of them were 100% successful. We will hence try to verify the load results by searching for person
records using person management.

Now we could see that all the 10 records are present along with the National ID, Business Unit, Country, Department , Location details. Also at this point it makes sense
to check that the Assignment Supervisor records should not be populated. We would check for Becky Camelo’s Employment Page to verify the same.

11
12

Also as per the data we have loaded Adam Baro is the topmost manager of all the employee records loaded. But as we have not loaded the Supervisor Details yet we
would not be able to view any employee reporting to Adam in the Organization Chart (Navigation is Navigator-> Directory->Directory and then search for Adam
Baro. Once the name appears click on it and the click on “View in Organization Chart”)

5. Load Assignment Supervisor Details


Now in this step we would try to load the Assignment Supervisor Details. This Business Entity gets loaded using the Worker.dat object and the Metadata is
AssignmentSupervisor
Metadata (AssignmentSupervisor)
Details about important fields:

12
13

SourceSystemOwner HA

SourceSystemId HA_MANAGER<SEQ>   (example HA_MANAGER1)

AssignmentId(SourceSystemId) Unique Assignment Record for which Supervisor is being assigned. HA_ASSIGN2 means that the assignment record
with AssignmentId value as HA_ASSIGN2 is getting a supervisor associated.

ManagerAssignmentId(SourceSystemId AssignmentId of the Employee who is been assigned as Supervisor.


)

ManagerId(SourceSystemId) PersonId of the Employee who is been assigned as Supervisor

ManagerType Type of Supervisor (Line Manager, HR Manager etc) . LINE_MANAGER for this example

PersonId(SourceSystemId) PersonId of the Employee who is getting a supervisor assigned.

Now we will try to load this file and check the load status.

From the screenshot we can infer that the load has been successful. We would try to verify the results now.
Verification

We can verify the results in two ways:


1. Verify Manager Details from Manage Employment

We can navigate to the Manage Employment for Person Number HA2 and now we should see the Manager Details populated (HA1 should be visible as the manager)

13
14

Alternatively one may even check the Organization Chart for (Adam Baro) and all the Reportees would be visible there too.
2.  Verify Manager Details Using Organization Chart
We may navigate to Navigator->Directory->Directory-> (Select Adam Baro as the Person Name) and then click on “View in Organization Chart”. Next click on the
Print Button and then choose the appropriate configurations ( like levels to display, Orientation, and Fields to display). For this example I chose Levels to Display as 3,
Orientation as Vertical and Fields to Display as All and then the following organization chart appears:

From this it is clear that while we didn’t have any individuals reporting to Adam prior to Supervisor assignment  being uploaded the same isn’t the case once we load
the SupervisorAssignment file which hereby confirms that the supervisor details have been successfully associated with the worker records.
Inference / Summary
With this we have come to the end of the article and I hope I was able to explain the basic steps required to load worker records in the system and even associate
supervisor details to those assignments.
I hope this was a good learning and you guys had a great time during the session.
Thank You all for your time and have a nice day ahead!

RECORDS IN ORACLE HCM CLOUD APPLICATION

the actual zip files which I have used for the process.
Hence, I thought it makes sense to have a follow up article which would help the readers.
Prerequisite
While the pre-requisite details have already been mentioned in the main  article  but I would make a explicit mention of the same here so that ambiguity
if any is removed.
The major prerequisites are:
 
1. Creating a Source System Owner as ‘HA’
2. Creating a Legal Employer as ‘US1 Legal Entity’

14
15
3. Creating a Business Unit as ‘US1 Business Unit’
 
Note:
One may choose to configure different data values for Source System Owner, Legal Employer and Business Unit but in that case one would need to
modify the HDL files too accordingly. As such, it still makes sense to use the existing values for now and one may try with new values later once he/she
become familiar with the entire process.
 
The Effective Start Date Values used while Configuring the Source System Owner is set to 01-01-2018. If anyone chooses any values after this date
they might encounter date-effectivity issues. It's recommended that the same start date value (01-01-2018) be used during the operation.
 
Sample Files
For those of you who have already gone through the  article  , they might have understood that we would need to perform the entire data-load procedure
in 3 steps namely:
 
1. Load Work-Structure Components
2. Initial Worker Load
3. Supervisor Assignments
 
A brief description of each of the above steps follows:
 
Load Work-Structure Components
One of the basic requirement before one starts creating Worker Records into the application one should ensure that the Work Structure Components like
Legal Employer, Business Unit, Job, Department, Location, Grade and Position should already be present in the system. These details are required
when we need to assign an individual to specific Department, Job , Location and other assignment attributes.
 
Please use the following link to download the WorkStrcutureComponents.zip file:
 
<WorkstructureComponents.zip>
 
The zip file when extracted should contain the following files:
 

 
Initial Worker Load
Once you load the WorkstructureComponents successfully one may proceed with loading the Worker Records. (These worker records would not be
having supervisor related details in this load as there might be some issues with the assignment records of the supervisor and that might halt your
progress). So in order to keep things simple we would load the worker details in this step and then will try to reload the supervisor details (in the third
step)
 
Please use the following link to download the InitialWorkLoad.zip file:
 
<InitialWorkerLoad.zip>
 
The zip file when extracted should contain the following files:
 

 
Supervisor Assignment

15
16
After the worker load is successful, we would try to assign supervisor to the worker records.Once these files gets loaded successfully too we would be
able to view that the assignment recors have the Line Manager details populated too. Also one may try to run the organization chart to view the
supervisor hierarchy.
 
Please use the following link to download the SupervisorAssignment.zip file:
 
Supervisor Assignment.zip
 
The zip files when extracted should contain the following files:
 

 
Inference / Summary
Once we load all the files successfully we should be able to get an org chart (as shown below) which is a confirmation that the data-load was successful.
 

16

You might also like