We are createing an accrual plan where the start date for accrual is dependent on the date employee
First_Eligible_To_Accrue_Date is not accepting custom date
Here is rhe code from our custom formula
_____________________________________
ELSE IF (ACP_START = 'RET') THEN
(
message = 'Organization must be Corporate Finance'
RETDT=to_date('13-APR-2019','DD-MON-YYYY')
Continuous_Service_Date=retdt
E = set_date('Continuous_Service_Date',Continuous_Service_Date)
First_Eligible_To_Accrue_Date = RETDT
)
ELSE IF (ACP_START = 'HD') THEN
(
First_Eligible_To_Accrue_Date = Continuous_Service_Date
)
______________________________________
We have declared RETDT as a variable for retention date.i.e. date from which accrual needs to start. At present it is hard coded for testing purposes.
Thanks
Sid