You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

The action code null is invalid for the action Terminate Work Relationship

Accepted answer
30
Views
3
Comments

Hi,

We are trying to terminate an employee work relationship using HDL and getting following error:

"The action code null is invalid for the action Terminate Work Relationship."

We have passed the action code value as TERMINATION in HDL file which is a valid action code to terminate an employee. We have also verified that employee exists and has active workrelationship. Still it fails with above error. Does anyone have any idea on why this error is being triggerred and how to resolve this?

Following is the METADATA and data lines we have included in Worker.dat HDL file.

METADATA|WorkRelationship|SourceSystemOwner|SourceSystemId|PersonId(SourceSystemId)|ActualTerminationDate|TerminateWorkRelationshipFlag|LegalEmployerName|DateStart|PrimaryFlag|WorkerType|NewStartDate|ActionCode|ReasonCode|RehireRecommendationFlag|NotifiedTerminationDate|LastWorkingDate

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!