Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
how to count only approved absences in the fast formula
Summary:
Content (required):
Hi Experts,
I have a requirement to write validation formula based on the number of absences taken. But the system is considering 'Denied' absences also in the count which is making the validation fail.
I have used below IF condition to exclude 'DENIED' and "WITHDRAWN' absences from the count.
if((ANC_ABS_TYP_NAME = 'Unpaid Leave') and ((ANC_ABS_ENTRS_ABSENCE_STATUS_CD <> 'ORA_WITHDRAWN') or (ANC_ABS_ENTRS_APPROVAL_STATUS_CD <> 'DENIED')))then
(
ln_duration = ln_duration + ANC_ABS_ENTRS_DURATION
)
Am I doing any mistake in the formula here? How do I exclude DENIED absences from the count?
0