Assistant

Key Features

The basic components to create an assistant are

The assistant is based on a application logic. It is defined in the mask Assistant Definition containing the single dialog steps like dialog step number, predecessor number, description and the function used at the mask.

Masks are defined with the form generator of DataView. The business application logic of an assistant is implemented with LogiView. The assistant toolbox combines these tools and adds two more components:

Each dialog step is identified by a dialog step number and a reference. Userexits and LogiView decision tables/procedures called are defined in the mask definition with triggers.

Userexit documentation.

Naming conventions for the Assistant

For the names of the dialogue forms, the sub-lists and the LogiView procedures please observe the following naming conventions:

Dialog form and sub-lists

LogiView Procedures

Dialog form

Although you define a dialogue form in the same way as other forms (such as the item or project form), there are some rules you should keep in mind:

Dialogue forms may consist of a main form and optional sub-lists too. Especially for the main form it is possible to use the form generator of DataView to define the layout.

Rules for the Main Form

Although you define a dialogue form in the same way as other forms (such as the item or project form), there are some rules you should keep in mind:

Rules for Sub-Lists

A dialogue form may contain one or more sub-lists. Sub-lists may be used to display a number of values. A common way for sub-lists is to have two of them, one as a source and the other as a target list. The user then can select any number of records from the source list and move them to the target list.
To open a dialogue form with one or more sub-lists, the userexit xform_call_dlg has to be called with the option /SELECT. This option takes the name of the entity plus the name of the sub-list as an argument. Several sub lists can be separated by commas.

These are the rules for sub-lists in a dialogue form:

For the combination of source and target lists there are additional rules: