Screens

Use this function to create and modify screens in the software by defining their description in a table. A screen is a tab or the upper section of a window in which several tabs or sections can be found. The confirmation of this description is then used to create the screen source and to compile it in the different languages in which the folder is generated.

Each screen is organized into sections, and each section contains one or more fields. A section is a field that can be entered, displayed, or hidden.

A screen is defined by its code and abbreviation. The code is unique in a folder but the abbreviation might not be. You need to make sure that it is not possible to open simultaneously two screens that have the same abbreviation. It is important that the different tabs for a single object have different abbreviations. For an object with the XXX code, the header screen is called XXX0, and the different tabs XXX1, XXX2, ..., XXXn. This standard is strongly recommended but not mandatory.

It is possible to insert graphs into Sage X3 screens by authorizing a graphical representation in a grid section. It can be a simple or multiple graph, in the form of a Gantt chart or based on an XSL component created in the screen components dictionary.

You can also insert webpages by creating browser sections and using the screen components dictionary.

It is possible to define screens in a VT format.

Prerequisites

Refer to the implementation documentation.

Screen management

A screen is defined in three tabs:

  • The header
  • The General tab
  • The Fields tab

Use the header to identify the screen and provide general characteristics.

General tab

Use this tab to identify the sections forming the screen.

A section is a group of fields presented in a frame with an optional title. Each field on the screen must be positioned in a section. The entry order of the fields in each section is fixed. When the Tab key is used, the cursor moves from top to bottom and from right to left.

The position, line, and column fields are used to position sections. It is necessary to simulate a table for the section design. Indicate the position for each section using the line.column coordinates of its upper-left corner. Indicate the space occupied by the section using a number of lines and columns. For example:

Block

Position

Line

Column

A

1.1

2

2

B

1.3

1

1

C

2.3

1

1

D

3.1

1

1

E

3.2

1

2

F

4.1

1

3

Fields tab

Use this tab to define all the fields on the screen.

You can define, in the Actions and Action parameters grids, the proces²²²ses to be run as well as the associated parameters for each field.

Reports

By default, the following reports are associated with this function:

  • AMSK: Screen dictionary
  • AMSKLIST: List of screens

You can change this through a different setup.

Specific buttons

The following operation is available from the Actions menu.

View/VT screen

Available on VT screens. Allows you to display the screen as a log file.

Error messages

Other than the generic messages, the following error messages can appear when entering data:

No section defined

An attempt has been made to save a screen without defining its section.

Two sections with the same rank exist

Each section defined in the screen must have a unique rank. The rank is the unique identifier for the section.

xxxxxx: Non-existent variable at the bottom of the table

In the table section definition, a field from the second tab of ABS data type assigned to this block must be indicated in the footer column.

The footer variable must be the first of the section

In the table section definition, a field from the second tab of ABS data type assigned to this block must be indicated in the footer column.

This field must also be the first field declared in the section.

n: Non-existent section

Fields in the second tab are assigned to a section not defined in the first tab.

Number of fields too big (> 32,768)

Control of the limit of 32,768 active field dimensions per screen.

  • For table sections, one field per column is counted, regardless of the number of rows in the table.
  • For list sections, the field dimension is included in the calculation.

Too many lines (> 500)

Control on the limit of 500 active fields per screen, regardless of their dimension.

A standard screen should not exceed 300 fields, in order to keep at least 200 fields available for partners.

Tables used

Refer to the implementation documentation.