Syntax Error Code Statement 2 42 Peoplecode -
: 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.
Example: Declare Function MyFunction PeopleCode RECORD_NAME.FIELD_NAME FieldFormula; . Syntax Error Code Statement 2 42 Peoplecode
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