-GE Lines of a Server Dialog or Server

You use these lines to manage the error messages of Business Components and initialization/termination servers. You can specify error messages for errors that are described in specific code. You can also customize the standard messages that are related to the standard access to Segments or to the validation of the Logical View data. This customization is also possible on the -GE Lines of Segments or Data Elements.

You can create, reorder, or remove lines with the table buttons (whose position can be modified with the design editors preferences) or with the contextual menu that you open by right-clicking the table. You can also use the contextual menu to Copy and Paste lines. The Special copy and Special paste choices are also available in the Data Element -D Lines, Report -L Lines, and -G Lines of all the entities.
  • If you select Special copy, a dialog box opens. You must select the columns to be copied and indicate whether you want to copy their content to an external editor or to the same tab of another instance of the same entity. The copied content is then placed in the clipboard.
  • You can select Special paste to paste a content that was copied from an external editor. In this case, you must select the column where the content is to be pasted. You can also select Special paste to paste a content that was copied from another instance with Special copy.

The first column of the table can be used to select contiguous or non-contiguous lines. To select contiguous lines, click this column on the first line to select and press the shift key on your keyboard. Then, select the other lines by clicking the last line to select or by using the arrow keys on your keyboard. To select non-contiguous lines, click a line, and then select the other lines by clicking the first column and pressing the ctrl key on your keyboard.

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
Click Add. By default, the type of the new line is set to * (comment). Click the Type column and select U for an error message that is associated with an error described in specific code, or S for a customized error message related to the Segment access.
Link
This field is used for an S line. You use it to select a Segment that will then be displayed in the Description field.

Click the selection icon to display the available Segments. 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.

Description
To specify error messages for errors that are described in specific code, enter the following elements on a U line:
  • The error code in 4 characters (columns 1 - 4) as it is used in the specific code.
  • The severity of the error on 1 character (column 5). E is for an error or W is for a warning.
  • The message that is associated with this error (from column 6).
Note: If you define an error in a Business Component for the Logical View data, you must associate a message with this error. You do it on the -GE Lines of the Logical View -CE Lines.
To customize an error message that is related to the database Segment access (if it has not been customized on the Segment -GE Lines), you must declare the Segment on an S line and enter the error message on a U line.
  • The S line must contain the following elements:
    • The Segment (columns 1 - 4)
    • A blank or W to associate a warning with the error message (column 5)
    • The category code (column 6), required if the same Segment code is used in several categories: blank for Screen top, R for repetitive, or Z for Screen bottom
    • The Segment position (1, 2, and so on) (column 7) in the category (required if the same Segment code is used several times in a category)
  • The U line must contain the following elements:
    • The message to be customized, according to the use of the Segment (columns 1 - 4):
      • For a use in reception, enter NFND for an invalid modification or deletion, or DUPL for an invalid creation.
      • For a use in display, enter END for an end of list, or ABSC for a missing record.
    • A blank or W to associate a warning with the error message (column 5)
    • The message that is associated with this error (from column 6)

Feedback