Syntax Error Code Statement 2 42 Peoplecode -
: Ensure any internal or external functions are declared at the very top of your PeopleCode program, immediately after any Component or Global variable declarations.
: In the Application Designer PeopleCode editor, press CTRL + G and enter the statement number (usually the second number in the error string) to jump directly to the problematic line. Syntax Error Code Statement 2 42 Peoplecode
: You are calling a function that has not been defined or declared at the top of your program. : Ensure any internal or external functions are
