To create sessions

This topic describes the procedure to create sessions.

Important!

The sections below describe the sessions that you must use to complete the procedure. However, they do not describe all details of these sessions. For detailed session information, refer to the Infor Web Help.

Procedure aim

The aim of this procedure is to create sessions for your LN application. Sessions are the main applications that a user will use. Sessions are used to present data, edit data and process data.

Session development involves defining the attributes of a session, editing the form layout, and specifying the specific commands and indices.

Important!

You will add the user interface logic and processing logic in later steps.

Procedure result and prerequisites
Result

Sessions that perform activities in your LN application.

Prerequisites

To create sessions you need:

  • A development package VRC in which you can create the sessions.
  • Developer authorization for the development VRC.
  • A data model with tables on which the sessions will operate.
  • The Dynamic Form Editor ( DFE) must be installed on your PC.
Procedure summary

The following list shows the procedure steps and the corresponding sessions or programs:

  1. Add a session - Sessions (ttadv2500m000)
  2. Create and edit the form - Dynamic Form Editor ( DFE)
  3. Specify session specific commands and buttons - Form Commands (ttadv3518m000)/ Standard Commands (ttadv3110s000)/ Dynamic Form Editor ( DFE)
  4. Specify indices - Available Indices by Session (ttadv2101s000)
  5. Add the user interface logic and processing logic. You can define this logic in the session's UI script, in functions, DLLs and DALs.
Procedure details
Step 1. Add a session

To create a session you must add a session code in your development package VRC:

  1. Start the Sessions (ttadv2500m000) session.
  2. Click New. The Sessions (ttadv2100s000) details session starts.
  3. In the Attributes tab, specify the session attributes, for example: the session code, the session description and the session type. For details, refer to the session's online help.
  4. Complete the session on the Form tab. Here you must specify, among other things, the number of occurrences and the default button.
  5. Click Save.
Step 2. Create and edit the form

To create and edit forms, you must use the Infor Dynamic Form Editor. The form editor allows you to specify the available session types for the form (overview and detail), the field groups, labels and fields that are used to create the form.

To start the Dynamic Form Editor:

  1. In the Sessions (ttadv2500m000) session, select the session for which you want to create or edit the form.
  2. Click Edit Form .... The Dynamic Form Editor starts.

You can now perform basic form editing tasks to quickly produce a working session prototype. For details about creating a new basic form for a session, refer to To create forms.

After you have a basic form setup and operational, you can change the form layout to achieve the final result. For details, refer to To edit forms.

Step 3. Specify session specific commands and buttons

In addition to labels, fields and field groups, you can enhance the user interface by creating additional elements, such as zoom buttons, standard commands, and form commands, on the form.

For details, refer to To create commands and buttons for a session.

Step 4. Specify indices

Specify the indices that must be available for the session.

For details, refer to To specify indices for a session.

Step 5. Add the user interface logic and processing logic

You can define this logic in the session's UI script, in functions, DLLs and DALs. For details, refer to the following sections:

Related topics