Absence: Error from Fast Formula line 21, a local variable was used before being initialized.
Summary:
I created fast Formula, but when i run showing error as below
line 21, a local variable was used before being initialized.
Content (please ensure you mask any confidential information):
/**********************************************************************
FORMULA NAME: DS Wormhout RTT
FORMULA TYPE: Participation and Rate Eligibility
***********************************************************************/
DEFAULT FOR PER_ASG_EMPLOYEE_NUMBER is'0'
DEFAULT FOR PER_ASG_EMPLOYEE_CATEGORY is'XX'
l_return = 'N'
/* main() */
if (PER_ASG_EMPLOYEE_CATEGORY= 'FR_CAD' or PER_ASG_EMPLOYEE_CATEGORY= 'FR_CD' or PER_ASG_EMPLOYEE_CATEGORY= 'FR_EMP' or PER_ASG_EMPLOYEE_CATEGORY= 'FR_APP_EMP') then
(
l_return = 'Y'
)
else
(
if (PER_ASG_EMPLOYEE_NUMBER = '4501057') then