| # Messages Messages are language-independent software components that allow you to customize dialog messages. For each message, you can specify: The message code. This is the unique identifier of the message across all languages. The message type, e.g. "Warning". The message. This is the message text which you can edit and translate. This message can contain codes that are substituted when the message is displayed. For details on substitution symbols, refer to the description of the sprintf$() function in the LN Programmer's Guide. See the following table for a sample message:
Message code | Message Type | Language | Message
tipcss0292 | Warning | 1 (Dutch) | Artikel reeds aanwezig als component in productiestuklijst
2 (English) | Item already found as component in production BOM
Messages are used in a variety of places within the application. You can use messages: To replace the default reference error message on table definitions Within program scripts and libraries To set error messages from a DAL As the contents of a form field using the form.text$ function If a message is produced while a session is executing, a dialog box is displayed, and you must click OK to continue. If the session is running in a job, the message is logged in the job history messages. To create messages You can create messages in the Messages (ttadv4551m000) session. For more information, refer to: the Infor Web Help the Message Handling subtopic in the Functions topic in the LN Programmer's Guide Related topics To translate software components |