Friday 12 April 2019

How to Rehire the Employee through HDL in Oracle cloud

How to Rehire the Employee through HDL in Oracle cloud

 
 HDL is HCM Data loader tool to create and Integrate the Employee Information in Oracle cloud. With the Help to HDL tool we can create and update Employee Information from External system. In the Same way if we want to Rehire the Employee from Back end or form External System then we can also do the same through HDL tool. HDL tool helps to allow the Employee rehire or reverse termination from External System. Here below I will share the detail steps to rehire the Employee through HDL in Oracle cloud.
 

Steps to Rehire the Employees through HDL in Oracle Cloud

To Terminate the Employees, we need to use the Two METADATA under the Worker File. First Meta Data is Worker and Second one is Work Relationship as below
 
How to Rehire the Employee through HDL in Oracle cloud
 
First of all, to understand the concept of Terminate we should be knowing the process of Employee Creation HDL.
To Terminate Employee, we need to use the Action Code=’ RESIGNATION’ in the Worker MetaData. This First metadata will end date the Employee Header record in Oracle cloud.
We should be careful to give the Values to the PersonId and then PersonNumber. These values should be available in the Cloud application to terminate the Employees.
In this Case I am using the Person Id as a Source system Id. Source system Id is the Unique Key for Each Employee record and we give this during Employee Creation. So, we need to use the same Source system id during Employee Termination also. So, we need to take this during this script.
METADATA|Worker|PersonId|EffectiveStartDate|EffectiveEndDate|PersonNumber|StartDate|DateOfBirth|ActionCode|SourceSystemOwner|SourceSystemId
MERGE|Worker|234554|2015/04/20|4712/12/31|34564|2015/04/20|1970/05/21|RESIGNATION|XXTEST|234554
The second Meta Data is uses to end date the Employee Assignment Part. In this Meta also we do specify the ActionCode=’ RESIGNATION’ and the Reason Could be any based on option we have in the Cloud application but in this case we are using ReasonCode=’RESIGN_PERSONAL’
 
We also need to put the Legal Employer name to which this employee already assigned during creation.
We need to give the ActualTerminationDate and  TerminateWorkRelationshipFlag should be ‘Y’.
METADATA|WorkRelationship|SourceSystemOwner|SourceSystemId|PersonId(SourceSystemId)|LegalEmployerName|TerminateWorkRelationshipFlag|ActualTerminationDate|ActionCode|ReasonCode
MERGE|WorkRelationship|XXTEST|234554_UnitedStates|234554|LegalOrgName|Y|2018/06/22|RESIGNATION|RESIGN_PERSONAL
 
As below this is the Complete Worker File to Rehire an Employee through HDL in Oracle Cloud.
How to Rehire the Employee through HDL in Oracle cloud
 
Once we have prepared these two metadata for Terminated employee to rehire we need to save this meta data in Worker.dat file.
 How to Rehire the Employee through HDL in Oracle cloud
 
Then We need to put this Worker.dat file in the Worker.zip folder. After this We need to put this Worker.zip folder in the Cloud Application.
To Import this Worker.Zip file we need to follow these steps as below.

Once the zip file have been prepared. Then We need to go Data Exchange

How to Rehire the Employee through HDL in Oracle cloud
How to Rehire the Employee through HDL in Oracle cloud
 
Then Data Exchange ==> HCM Data Loader ==> Import and Load Data 
 
How to Rehire the Employee through HDL in Oracle cloud
How to Rehire the Employee through HDL in Oracle cloud
 
 

3 comments:

Unknown said...

I guess this link is basically for rehire the employee but you have showed us the termination process, please clarify I my understanding wrong

Anonymous said...

srry , My bad we will correct this very soon.

mohan said...

Yes you are misguiding others , please change the heading of the link or change content related to it.

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *