To create sessions

The aim of this procedure is to create sessions for your LN application. Sessions are the main applications that a user uses. 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.

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

The sessions that you must use to complete the procedure do not describe all details. For detailed session information, see the Infor Web Help.

After you have completed the procedure, sessions that perform activities in your LN application are created.

The prerequisites to create sessions:

  • 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.

The procedure steps and the corresponding sessions or programs:

  • Add a session - Sessions (ttadv2500m000)
  • Create and edit the form - Dynamic Form Editor ( DFE)
  • Specify session specific commands and buttons - Form Commands (ttadv3518m000)/ Standard Commands (ttadv3110s000)/ Dynamic Form Editor ( DFE)
  • Specify indices - Available Indices by Session (ttadv2101s000)
  • Add the user interface logic and processing logic. You can define this logic in the session's UI script, in functions, DLLs and DALs.
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 LN 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, see 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, see 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, see To create commands and buttons for a session.

Step 4. Specify indices

Specify the indices that must be available for the session.

For details, see 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, see these sections:

Related topics