Adding a standard message
Use this procedure to add a standard message. Standard messages are located in the <Prefix>MSG<lng code> files.
- In the Language Objects pane, click Add. The New MSG Object pane is displayed.
- Select Standard Message. The properties are displayed.
-
To create a new standard message, specify this information:
- Message ID
- Specify the Standard Message ID per Field Heading. The ID must be seven characters long.
- Type
- Select the type of the substituted variable, &1:
-
DEC
-
CHAR
-
- Length
- Specify the length of the substituted variable, &1.
- Decimal
- Specify the decimals of the substituted variable, &1, if it is of type DEC.
- Suffix
-
This is the content of the standard message, which depends on the suffix, as follows:
-
AA – the entire field heading that can accommodate up to 40 characters. By default, the Message ID starts with letter W. Click Template to display the Standard Message Template properties.
-
01 – value of this field defaults to the global value of the Template window field 01, showing a maximum of 99 characters. If you click Template, the default value is “ <X> &1 is invalid”.
-
02 – value of this field defaults to the global value of the Template window field 02, showing a maximum of 99 characters. If you click Template, the default value is “ <X> must be typed”.
-
03 – value of this field defaults to the global value of the Template window field 03, showing a maximum of 99 characters. If you click Template, the default value is “ <X> &1 does not exist”.
-
04 – value of this field defaults to the global value of the Template window field 04, showing a maximum of 99 characters. If you click Template, the default value is “ <X> &1 already exists".
-
05 – value of this field defaults to the global value of the Template window field 05, showing a maximum of 99 characters. If you click Template, the default value is “Confirm deletion of <X> &1.
The notation <X> refers to the field heading and &1 refers to the entry in the current field.
-
- Click OK to save the changes made to the template or click Cancel to cancel any changes made and to close the Standard Message Template display. These options appear only when Template is clicked.
- Click the object name to reflect the changes. A new standard message with a green lock is displayed in the Language Objects pane.