Getting an error during formula execution 'a local variable was used before being initialized'
Hi Team,
I am new to fusion and Fastformulas.
I am getting an error while processing a quickpay for an employee as below
(ORACLE_ERROR_TEXT=) (FORMULA_ERROR_TEXT=Formula ANNUAL LEAVE FINAL DISBURSEMENT RESULT, line 43, a local variable was used before being initialized. (1=DIR_COMP_ID))
The fast for in which this error is as below :
/*****************************************************************************
FORMULA NAME: ANNUAL_LEAVE_FINAL_DISBURSEMENT_RESULT
FORMULA TYPE: Oracle Payroll
DESCRIPTION:
The formula works for final disbursement calculator element.
Call global formula ORA_FINAL_DISBURSEMENT_CALCULATOR,
The global formula includes logic to get all CIR value definitions and use them to calculate required result.