Get Started: AI Resources for Oracle Cloud HCM – Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Is it possible to use CASE to replace 4712/12/31 with CURRENT_DATE
Content (please ensure you mask any confidential information):
I'm using the Compensation - Salary History Details Real Time to return the "Salary Details"."To Date" field, if the end date is null the field returns 4712/12/31, I need this to return CURRENT_DATE so that I can calculate the working days between the salary start and end date.
I have tried to case as below, but it hasn't worked.
CASE WHEN "Salary Details"."To Date" IN ('4712/12/31') THEN 'CURRENT_DATE'
ELSE "Salary Details"."To Date" END
Alternatively is it possible to amend the "Salary History"."Days Since Last Salary Change" to exlcude weekends?
Tagged:
0