Sessions (ttadv2100s000)

Use this session to generate and maintain sessions.

When you insert a new session (before your first save of a record):

  • You can select the Generate Script check box. This will generate a program script for the session when you save the record.
  • You can specify the session's standard command set in the St. Command Set field.

On your first save of a new session the session is generated.

When you maintain an existing session (after your first save of a record:)

  • The Generate Script check box is removed from the form. To create a program script for your session after the first save, you must manually create a program script in the Program Scripts / Libraries (ttadv2530m000) session, and link it to your session by entering the code in the Program Script field.
  • The St. Command Set field is removed from the Sessions (ttadv2100s000) details session's form. To reselect your session's standard command set, you must use the Sessions (ttadv2500m000) overview session. Select the session in the grid and, on the appropriate menu, select Standard Commands. The Standard Commands (ttadv3110s000) sessions starts, in which you select the St. Command Set option. The Standard Command Sets (ttadv3520m000) session starts, from which you can select a new standard command set for your session.
Note: You can only change a session's data if you check out the session. You perform the checkout through the appropriate menu of the Sessions (ttadv2500m000) overview session.

Field Information

Package

The code of the session's package.

VRC

The version code of the session's VRC.

VRC

The release code of the session's VRC.

VRC

The customer code of the session's VRC.

Module

The session's module code. Each session belongs to a module within a package.

Session

The session's code. The combination of the package code, module code and the session code uniquely identifies the session.

Description

The session's description, displayed in the title bar of the session's window at runtime.

Standard Script

The session's standard script type.

Note: If you specify a standard script, you cannot specify a program script.

Allowed values

No

No standard script is used. You must specify a program script in the Program Script field.

Type 1/2/3 (With M.Table)

The session is based on a main table and uses a standard script.

Type 4 (Without M.Table)

The session is not based on a main table, but uses a standard script.

Generate Script

If this check box is selected, when you first save a record a session and a program script for the session is generated.

If this check box is cleared, when you first save a record the session is generated but a program script for the session is not generated.

Note: 
  • You can only maintain this field when you select No in the Standard Script field.
  • You define the code of the generated program script in the Program Script field.
  • The contents of the generated script depends on the settings you select in this session. You can view and maintain the generated program script in the Program Scripts / Libraries (ttadv2530m000) session.
  • After the first save of a new record this checkbox is removed from the form. To create a program script after your first save, you must manually create a program script in the Program Scripts / Libraries (ttadv2530m000) session, and link it to your session by entering the code in the Program Script field.
Program Script

The program script's package code.

Program Script

The module code of the session's program script.

Note: You can only maintain this field when you select No in the Standard Script field.
Program Script

The program script's code. The package code, module code and program script code identifies the program script that belongs to the session.

Note: You can only maintain this field when you select No in the Standard Script field.
Main Table

The package code of the session's main table.

Main Table

The module code of the session's main table.

Main Table

The table number of the session's main table. The combination of the package code, the module code, and the table number identifies a table.

Start Command Type

The session's Start Command type.

Allowed values

Default Start Command

- the session uses the default start command that you define in the Default Start Commands (ttadv2105s000) session.

No Start Command

- no command is carried out when the user starts the session.

Specific Start Command

- the session uses the specific start command that you define in the Start Command field.

Start Command

The command carried out when a user starts the session.

Note: You can only maintain this field when you select Specific Start Command in the Start Command Type field.
Session Status

The development status of the session.

Allowed values

Developing

The session is being programmed.

Testing

The session is going through software testing.

Finished

The session is fully programmed and tested.

Dynamic Session

If this check box is selected, the session is dynamic. You can only create dynamic sessions.

Integrated

If this check box is selected, the session is an integrated session. You can only create integrated sessions.

Session Type

Specifies the session's type.

Allowed values

Maintain

For overview and details sessions, if not started in read-only mode, users can edit fields.

Update

Type 4 session.

Print

Type 4 session.

Display

Maintain session type, except that users cannot edit fields in an overview session. Users can edit fields in a details session.

Update + Print

Update session that produces a report.

This session type behaves in the same way as a Print session, but at runtime the Preview button is not generated.

Graph

Type 4 session.

Conversion

Type 4 session.

Window Type

Specifies the session's window type.

Allowed values

Modeless window with menu (obsolete)
Modal window with menu (obsolete)
Dialog

A modal secondary window, to display or to edit data.

No Window

The window is not movable and does not contain a title.

Synchronized dialog (obsolete)
List Window (default value)

Starts a details window for a details session, and an overview window for an overview session. If a user zooms to the session, a browse list starts for the session.

Wizard

A wizard window starts for the session. A wizard window usually consists of a sequence of dialog boxes in which you must enter the required details, and through which you can move forwards and backwards.

LN contains various sessions with a wizard window, for example:

  • Export Language Dependent Data to XML - Wizard (ttadv8910m000) and
  • Import Language-Dependent Data from XML - Wizard (ttadv8920m000)
Parameter

A parameter window starts for the session.

LN contains various sessions with a parameter window, for example:

  • Infor Data Navigator Server - Parameters (ttgfd4124m000) and
  • ART Parameters (ttaad6102s000)
Multi Main Table

A Multi Main Table window starts for the session. Use this window type for Multi Main Table (MMT) sessions.

An MMT session is a combination of multiple sessions, each having their own main table, and is used to present data with a typical parent-child structure. For example: a Sales Order and the related Sales Order Lines.

The window of an MMT session consists of 2 parts:

  • The upper part displays parent information, e.g. a Sales Order.
  • The lower part displays the child information, e.g. the related Sales Order Lines.

For more information on MMT sessions, refer to Multi Main Table sessions.

Main Session

If this check box is selected, the session is a main session and can be placed in a browser menu.

If this check box is cleared, the session is a subsession and cannot be placed in a browser menu. Users can only start the session through an overview session, or by a specific form command.

Synchronized Dialog

The code of an overview session's details session. The details session starts when a user double clicks a record in the overview session.

Expired

If this check box is selected, the session is expired and cannot be used in the package VRC or any of the package VRC's derivatives.

Reports in several languages

If this check box is selected, you can print the session's reports in languages other than the run-time language.

Note: 
  • Dependent on software delivery (see the Import- / Export functions module). You can only print reports in the languages you select in the Languages to Deliver by Language (ttiex0101m000) session.
  • You can manage multilingual report printing in the session's program script.
User

The user who created the session.

Date

The date the user created the session.

Note: You can print a range of sessions selected by their creation date.
Tech.Documentation

If this check box is selected, a technical documentation description of the session is available.

Release Notes

If this check box is selected, a release note description of the session is available.

Workflow Enabled

You must use this field to specify if the session can run in a Workflow environment. You can select one of the following values from the list. Only three values of the list has a meaning, see this table:

Value Description
Not checked The session has not been checked in a Workflow environment
Single / Redoable The session has been checked in a Workflow environment and executed successfully
Single / Not Redoable Not used
Container / Redoable Not used
Container / Not Redoable Not used
Single / Container / Redoable Not used
Single / Container/ Not Redoable Not used
Not Workflow Enabled The session has been checked in a Workflow environment but failed
Web UI Enabled

You must select this check box, if you can run the session successfully in a Web UI environment.

Horizontal

If this check box is selected, the properties of each record in an overview session display horizontally (in rows) across the grid. Example:

item length weight
pie 30cm 1.0kg
pizza 50cm 1.5kg

If this check box is cleared, the properties of each record in an overview session display vertically (in columns) down the grid. Example:

item pie pizza
length 30cm 50cm
weight 1.0kg 1.5kg
Occurrences

The number of records displayed in the grid when a user starts the Overview session.

Note: 
  • If you enter 1 (one) in this field, the number of records displayed in the grid is determined by the session's default window size.
  • If a user has the Remember the user's settings check box selected in the User Data (ttaad2500m000) session, the number of records displayed in the grid is dependent on the user's last selected window size for the session.
Dynamic index switching

Select the session's dynamic index switching options. Allowed values:

No- When a user chooses a new index, the view fields and session layout does not change.

Restart when view fields differ- When a user chooses a new index that alters the view fields above the the session's grid, the session restarts.

Always restart- When a user chooses any new index by which to view the session, the session restarts.

Related topics

Show name of index

If this check box is selected, for overview sessions with dynamic index switching implemented, the current index displays in the session's title bar.

St. Command Set

Select a standard command set for your session.

Note: 

On your first save of a record, the session is generated. After your first save of a record:

  • This field is removed from the form.
  • To reselect your session's standard command set, in the Sessions (ttadv2500m000) overview session, select your session in the grid and, on the appropriate menu, select Standard Commands. The Standard Commands (ttadv3110s000) sessions starts, in which you select the St. Command Set option. The Standard Command Sets (ttadv3520m000) session starts, from which you can select a new standard command set for your session.
Command Type

Select the command type of the session's default button.

Allowed values

Standard Command

A command specified for the form in the Standard Commands (ttadv3110s000) session.

Form Command

A command specified for the form in the Form Commands (ttadv3518m000) session.

Default Button

Select a command for the session's default command button. The default command button is the command LN carries out when a user presses the ENTER key whilst using the session. The default command button is always the first button in the list of command buttons included on a session's form.

Note: 

If in the Command Type field you selected:

  • Standard Command, in this field you select the session's default button from the Standard Commands (ttadv3110s000) session.
  • Form Command, in this field you select the session's default button from the Form Commands (ttadv3518m000) session.
Label of Object

You can specify a label code in this field. If the session belongs to a multi-main table (MMT) session, then the label is visible at runtime on the toolbar and menus of the session.

Example

The Indices (ttadv4521m000) session, which is a satellite of the Table Definitions (ttadv4520m100) MMT session, has this label of object:

adv4521m000001 - Index

The toolbar on the Indices tab in the Table Definitions (ttadv4520m100) MMT session includes, among others, these commands:

  • New Index
  • Duplicate Index
  • Delete Index
  • Search Index
Personalization prohibited

If this check box is selected, the customize form functionality in a details session and the customize visibility, ordering and width of columns functionality in an overview session is disabled if the session is started from Web UI.