Issue with proration formula: The employee should not receive the balance
Summary:
The employee should not be receiving the balance, but it is still being generated. Could someone please help identify the issue in the Fast Formula provided below?
/*****************************************************************
FORMULA NAME: PRORATION
FORMULA TYPE: Global Absence Proration
DESCRIPTION: This sample formula applies the Accrual and Proration Factor
based on Length of Service and Accrual Plan the person enrolled into.
*****************************************************************/
/=========== DATABASE ITEM DEFAULTS BEGIN =====================/
DEFAULT for PER_ASG_REL_ORIGINAL_DATE_OF_HIRE is '4712/12/31 00:00:00' (date)
DEFAULT for ANC_ABS_PLN_NAME is 'A'
DEFAULT for ANC_ABS_PLN_PLAN_UOM is 'D'
/=========== DATABASE ITEM DEFAULTS ENDS======================/
/================ FORMULA SECTION BEGIN =======================/
INPUTS ARE IV_ACCRUALPERIODSTARTDATE (date), IV_ACCRUALPERIODENDDATE (date), IV_ACCRUAL (number)