Messages are entered using the Messages window and can be referenced in scripts using the getmsg() function. Messages can also contain replacement markers, allowing you to substitute text for the replacement markers using the substitute statement.
Each message has a message ID, which is used when referencing the message in a script. To view a list of messages and IDs in an application dictionary, use the Global Resources report in Dexterity Utilities.
If you are adding messages to an application that integrates with Microsoft Dynamics GP, be sure the message IDs for messages you create are 22,000 or greater. Otherwise, your messages won’t be extracted when you package your application. |
The use of messages allows you to easily update messages in an application dictionary or translate them for a multi-lingual application. All the messages can be accessed through the Messages window so you don’t need to change or recompile any scripts in your application.