When you use Error("some hard-coded string") in peoplecode to generate and show error message, then on the screen users see the following line gets appended to the error message:
The PeopleCode program executed an Error statement, which has produced this message.
To avoid showing this line, use the message catalog for storing the error message and use error statement like this:
Error MsgGetText (message set number,message number,"some default text")
No comments:
Post a Comment