Tuesday, 1 March 2022

HDL to rehire the person/employee in different legal employer in oracle fusion

HDL to Rehire the person/employee in different legal employer in Oracle Fusion

Hi friends , we are going to discuss about the rehire process in oracle fusion through HDL. In HDL , if we are rehiring in a same legal employer , then its quite easy. We just need to use the termination reverse flag and the person/employee will be rehire in the same legal employer but if the person/employee is getting rehire in any other legal employer as compared to earlier legal employer. then this task is bit complex and we need to involve 3 HDL metadata. If employee is getting rehire in different legal employer then we need to create the complete new work relationship , new work terms and new assignment too. In this further post , i will share the real time working example and the complete HDL script to rehire the employee in in different legal employer in oracle fusion. Please find below the complete details about HDL to rehire the person/employee in different legal employer in oracle fusion.


HDL Script to rehire the person/employee in different legal employer in oracle fusion

Real Time Working Example

Hired on 2019/07/09
Terminated on 2019/11/09
Rehired on 2019/11/10

HDL to Rehire the Employee in Oracle Fusion

METADATA|Worker|PersonNumber|EffectiveStartDate|EffectiveEndDate|ActionCode|StartDate|DateOfBirth|CountryOfBirth
MERGE|Worker|MKUSERA|2019/07/09|4712/12/31|HIRE|2019/07/09|1985/03/05|US

METADATA|PersonName|PersonNumber|EffectiveStartDate|EffectiveEndDate|LegislationCode|FirstName|MiddleNames|LastName|Title|CharSetContext|NameType
MERGE|PersonName|MKUSERA|2019/07/09|4712/12/31|US|MK User||A|MR.|US|GLOBAL

METADATA|PersonLegislativeData|EffectiveStartDate|EffectiveEndDate|PersonNumber|MaritalStatus|MaritalStatusDate|Sex|LegislationCode
MERGE|PersonLegislativeData|2019/07/09|4712/12/31|MKUSERA|M|1998/10/12|M|US

METADATA|WorkRelationship|PersonNumber|LegalEmployerName|OnMilitaryServiceFlag|PrimaryFlag|DateStart|WorkerType
MERGE|WorkRelationship|MKUSERA|MK_US_LE|N|Y|2019/07/09|E

METADATA|WorkTerms|ActionCode|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|AssignmentStatusTypeCode|AssignmentType|BusinessUnitShortCode|PositionOverrideFlag|PrimaryWorkTermsFlag|LegalEmployerName|PersonNumber|DateStart|WorkerType|AssignmentNumber
MERGE|WorkTerms|HIRE|2019/07/09|4712/12/31|1|Y|ACTIVE_PROCESS|ET|MK_US_BU|Y|Y|MK_US_LE|MKUSERA|2019/07/09|E|MKWTASGA

METADATA|Assignment|ActionCode|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|AssignmentStatusTypeCode|AssignmentType|BusinessUnitShortCode|PositionOverrideFlag|PrimaryAssignmentFlag|PrimaryFlag|PersonNumber|ManagerFlag|AssignmentCategory|ReasonCode|DateStart|WorkerType|LegalEmployerName|AssignmentNumber|WorkTermsNumber
MERGE|Assignment|HIRE|2019/07/09|4712/12/31|1|Y|ACTIVE_PROCESS|E|MK_US_BU|Y|Y|Y|MKUSERA|Y|FR|NEWHIRE|2019/07/09|E|MK_US_LE|MKASGA|MKWTASGA

HDL to Terminate the Employee in Oracle Fusion

METADATA|WorkRelationship|PersonNumber|LegalEmployerName|DateStart|WorkerType|TerminateWorkRelationshipFlag|ActualTerminationDate|ActionCode
MERGE|WorkRelationship|MKUSERA|MK_US_LE|2019/07/09|E|Y|2019/11/09|RESIGNATION


HDL to Rehire the Employee in Oracle Fusion in Different legal employer

METADATA|Worker|PersonNumber|EffectiveStartDate|EffectiveEndDate|ActionCode|StartDate|DateOfBirth|CountryOfBirth
MERGE|Worker|MKUSERA|2019/07/09|4712/12/31||2019/07/09|1985/03/05|US

METADATA|WorkRelationship|PersonNumber|LegalEmployerName|OnMilitaryServiceFlag|PrimaryFlag|DateStart|WorkerType
MERGE|WorkRelationship|MKUSERA|MK_US_LE|N|Y|2019/11/10|E

METADATA|WorkTerms|ActionCode|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|AssignmentStatusTypeCode|AssignmentType|BusinessUnitShortCode|PositionOverrideFlag|PrimaryWorkTermsFlag|LegalEmployerName|PersonNumber|DateStart|WorkerType|AssignmentNumber
MERGE|WorkTerms|REHIRE|2019/11/10|4712/12/31|1|Y|ACTIVE_PROCESS|ET|MK_US_BU|Y|Y|MK_US_LE|MKUSERA|2019/11/10|E|MKWTASGB

METADATA|Assignment|ActionCode|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|AssignmentStatusTypeCode|AssignmentType|BusinessUnitShortCode|PositionOverrideFlag|PrimaryAssignmentFlag|PrimaryFlag|PersonNumber|ManagerFlag|AssignmentCategory|ReasonCode|DateStart|WorkerType|LegalEmployerName|AssignmentNumber|WorkTermsNumber
MERGE|Assignment|REHIRE|2019/11/10|4712/12/31|1|Y|ACTIVE_PROCESS|E|MK_US_BU|Y|Y|Y|MKUSERA|Y|FR||2019/11/10|E|MK_US_LE|MKASGB|MKWTASGB

 

 

 

2 comments:

Anonymous said...

how to hire a employee throw hdl

y1aa Israel 3pam said...

q0kjbwru

cialis 100 mg satın al

cialis 20 mg sipariş

cialis 5 mg satın al

glucotrust official website

kamagra

viagra

sightcare

Post a Comment

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

Name

Email *

Message *