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

How do you get the effective date based on the action reason value?

Received Response
21
Views
2
Comments

Summary:

I want to get the parental leave start date which is the effective start date based on the action reason = 'On parental leave'

Content (required):

I have the code below but it does not seem to work.

Thanks in advanced.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

CASE 

WHEN LOCATE('On parental leave', "Workforce Management - Worker Assignment Real Time"."Worker Assignment Details"."Action Reason") > 0 THEN THEN "Worker"."Assignment Start Date"  END

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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