-GE Lines in a Segment

You use these lines to complement the automatic error messages with documentation messages, or to replace the automatic error messages on the Data Elements that are called on the -CE Lines of a Segment.

These error messages are related to errors that are detected by the controls on the Data Element calls. You can modify or complement them on the -GE Lines that are assigned to the Data Element calls ( -CE Lines). Click -GE Lines to display the table with the Type, Description, and Link fields.

The values to enter in the Type and Description fields depend on the task that you want to do. The Link field must be used when a Text is called. It must contain the Text instance.

Error
This column displays a dot on all the existing description lines that are not empty.

Moreover, if this line is not correct, this column also displays an error or warning symbol, depending on the severity of the error. A hover help indicates the source of the error.

Type
Select one of the following values.
Table 1. Available line types
Values Comments
* Line that is not generated for the insertion of a comment or an override.
D Declaration of a documentation message.
S Replacement of an automatic error message.

An automatic message can be replaced with a specific message such as THE ORDER NUMBER IS REQUIRED. Specific messages are indicated on S-type lines that are assigned to Data Element call lines (-CE Lines tab) in the Segments.

T Call of a Text.
Description
You can modify the automatic error messages that are generated for the current instance and generate documentation messages in the same format.
Table 2. Specification of the description field
Line type Content of the Description field
D To complete the error report with extra documentation, enter the following values:

Position 1:

  • 0 for a message before a Data Element description
  • 1 for a message after a Data Element description
  • 2–5 for a message after an error message of type 2 - 5:
    • 2 for an invalid absence of the Data Element
    • 3 for an invalid presence of the Data Element
    • 4 for an erroneous class of the Data Element
    • 5 for an erroneous value of the Data Element

Position 2: Blank

Position 3:
  • Blank for a help message
  • T for a Text call

Position 4: Blank

Position 5: Beginning of the help message or codes of the called Text and paragraph. Two asterisks (**) for the paragraph code call all the paragraphs of the Text.

S To override a message, enter the following values:

Position 1: Error type (2, 3, 4, or 5)

Position 2: Blank

Position 3: Severity of the error (E, C, or W)

Position 4: Blank

Position 5: Documentation message, or Text and paragraph codes

Link
You use this column when you call a Text (T type line). Click the icon in this field to display a selection wizard.

Click the Link column and the selection icon to display the available Texts. Select one of them and click OK. This instance is then displayed in the Link column.

You can also specify an instance directly from the Link column. To make the input easier, you can open a content assist wizard by clicking Ctrl and the space bar simultaneously. If you have started to enter a name, the content assist displays the instances that start with this input. If you enter the name of an instance that does not exist and if you validate, the input is discarded.

The Description field can be modified for a Text call to indicate generic codes.

You must then generate the error messages. To do so, you must create an Error Message instance and associate it with the Data Structure. The Error Message instance groups the generation options of the error messages for this Data Structure. You must then generate the Error Message instance.


Feedback