: You are calling a function that has not been defined or declared at the top of your program.

The error in PeopleCode is a generic syntax error message meaning "expecting statement" . It occurs during code validation or when saving PeopleCode in Application Designer because the compiler encountered a line it did not expect or cannot parse. Common Causes for Error (2,42) Syntax Error Code Statement 2 42 Peoplecode

: A preceding line is missing a semicolon ( ; ), causing the compiler to misread the subsequent line as part of an invalid statement. : You are calling a function that has

The numbers in parentheses represent where the compiler stopped: : The error category (Syntax/Parser error). 42 : The statement number where the compiler failed. Common Causes for Error (2,42) : A preceding

: 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.

42 Peoplecode | Syntax Error Code Statement 2

: You are calling a function that has not been defined or declared at the top of your program.

The error in PeopleCode is a generic syntax error message meaning "expecting statement" . It occurs during code validation or when saving PeopleCode in Application Designer because the compiler encountered a line it did not expect or cannot parse. Common Causes for Error (2,42)

: A preceding line is missing a semicolon ( ; ), causing the compiler to misread the subsequent line as part of an invalid statement.

The numbers in parentheses represent where the compiler stopped: : The error category (Syntax/Parser error). 42 : The statement number where the compiler failed.

: 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.