Maternity Leave-Personalizing form so that only Female employees are eligible
Hi All
I'm trying to personalize the entries form so that only female employees are eligible for maternity leave.System should throw out an error when male employees want to enter accrual plan in entries.
The condition I'm using does not want to validate.
The condition is as follows:
aba.c_type_desc in ('GRN_Maternity Leave Plan')
AND :ABA.PERSON_ID not IN
( SELECT PERSON_ID
FROM PER_ALL_PEOPLE_F
WHERE SEX = 'F')
See below error message
Any help will be highly appreciated.
Regards
Shawn