You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!