Update termination action and action reasons for terminated employees?

Update Action and Action Reason for a terminated employee, use Worker.dat file, WorkTerms and Assignment.

METADATA|WorkTerms|AssignmentId|PeriodOfServiceId|PersonId|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|ActionCode|ReasonCode
MERGE|WorkTerms|300000020344247|300000020344240|300000020344238|2018/05/10|4712/12/31|1|Y|INVOLUNTARY_TERMINATION|DISMISSAL
METADATA|Assignment|AssignmentId|WorkTermsAssignmentId|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|EffectiveLatestChange|ActionCode|ReasonCode
MERGE|Assignment|300000020344273|300000020344247|2018/05/10|4712/12/31|1|Y|INVOLUNTARY_TERMINATION|DISMISSAL

I hope this blog post was helpful for you. If you have any questions or feedback, please leave a comment below.