Absence type doesn't prorates balance from annual leave
Summary:
Content (required):
Absence type called leave without pay must prorates balance from annual leave i put the condition in the fast formula and it is working, but now without changing any thing the absence type stop to prorate from annual leave.
the condition is:
L_UNPAID_DAYS = 0
SERVICE = (MONTHS_BETWEEN(ld_current_date , ACP_HIRE_DATE))
CUR_AGE = ROUND(((MONTHS_BETWEEN(ld_current_date , PER_PER_DATE_OF_BIRTH))/12) , 0)
INS_PERIOD = SERVICE
L_UNPAID_DAYS = GET_ABSENCE_DAYS_PER_TYPE('Leave Without Pay',IV_CALEDARSTARTDATE,IV_CALEDARENDDATE)
L_YEAR_DAYS =DAYS_BETWEEN(IV_CALEDARENDDATE,IV_CALEDARSTARTDATE)+1
/*Proration for balance based on unpaid leave*/