Getting error while initializing the array variable in fast formula — Cloud Customer Connect
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

Getting error while initializing the array variable in fast formula

edited Sep 5, 2020 12:17AM in Compensation 1 comment

Summary

I am getting the error while initializing the variable "PER_EXT_GRADE_STEP_RATE_VALUE" as its data type is "Text value & number index array" It is erroring out at the DEFAULT section itself.

Content

/*==== Formula to pick current step rate ======*/
/*=========== DATABASE ITEM DEFAULTS BEGIN ==============*/
DEFAULT FOR PER_EXT_GRADE_STEP_RATE_VALUE IS ''
DEFAULT FOR L_DEFAULT_VALUE IS '1'
/*=========== DATABASE ITEM DEFAULTS END ================*/
/*=========== INPUT SECTION BEGIN ==============*/
INPUTS ARE CMP_IV_PLAN_ID (number)
/*=========== INPUT SECTION ENDS ==============*/
/*=========== FORMULA SECTION BEGIN =====================*/
CHANGE_CONTEXTS(LEGISLATIVE_DATA_GROUP_ID=300000001091110)
(
L_DEFAULT_VALUE = PER_EXT_GRADE_STEP_RATE_VALUE
)
RETURN L_DEFAULT_VALUE

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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