For more information, please refer to this announcement explaining best practices for getting answers to questions.
HDL for Rehire
Summary
What is the common process used to maintain source system Id during rehire using HDLContent
Hi
Using HDL:
created emp# 1517430 with the source system ID as WK_1234
This emp was terminated.
Emp Rehired using the below HDL but it fails saying source system id can't be same for Workterms and Assignment
METADATA|WorkRelationship|LegalEmployerName|PersonId(SourceSystemId)|PersonNumber|DateStart|WorkerType|ActualTerminationDate|TerminateWorkRelationshipFlag|PrimaryFlag|ActionCode|SourceSystemOwner|SourceSystemId
MERGE|WorkRelationship|ABC INC|WK_1234|1517430|2019/10/14|E|||Y|REHIRE|ABC|WR_1234
METADATA|WorkTerms|EffectiveStartDate|EffectiveEndDate|EffectiveLatestChange|EffectiveSequence|PeriodOfServiceId(SourceSystemId)|PersonId(SourceSystemId)|LegalEmployerName|BusinessUnitShortCode|ActionCode|AssignmentType|AssignmentStatusTypeCode|SourceSystemOwner|SourceSystemId
MERGE|WorkTerms|2019/10/14|4712/12/31|Y|1|WR_1234|ARG_WK_1234|ABC INC|ABC BU|REHIRE|ET|ACTIVE_PROCESS|ABC|WT_1234