Sessions

1) Explanation of sessions
If sessions in BAAN IV are compared with a program in a 3GL programming language such as BASIC or PASCAL, sessions can be seen as the programs that are needed to run parts of the BAAN IV application.
Physically, a session is an executable combination of forms, reports, charts, a main table, and a program script. Furthermore, sessions are used to form the link between these software components.
Tables
Every session involves the manipulation of data in one or more tables. M anipulation of data can be seen as  adding, changing, displaying, or printing data. Since data is stored in tables, sessions are generated on the basis of table definitions.

Program scripts
An object is the executable part of a session that contains the actual logic of a session. Objects are created on the basis of a standard script or on a program script that contains the actual source code and is programmed in a certain programming language like PASCAL or C.
Standard scripts are delivered by Baan while program scripts can be programmed by the user. The standard scripts handles all the standard options that are available in BAAN IV whereas the additional functionality are programmed inside a program script. 
An executable object of a session is created after the compilation of the standard script or the program script when a session is generated.

Forms
The display that appears on the screen when a session is activated is referred to as a form. A form is the interface between a user and a session that enables the user to manipulate the data in a table. A session needs at least one form to be able to interact with the user. The number of forms depends on the amount of data that can be manipulated. Forms are automatically created and linked to a session when a session is generated. It is also possible to define forms and link them to a session afterwards.
Reports
Reports are used to output data within the database and can be linked to a session. A standard report is automatically created and linked to a session when a session is generated. A standard report handles all standard options to retrieve data from the database and present it to the user. Additional functionality’sfunctionalities, like calculations or specific report layouts, can be programmed from within a report script and are linked to a session afterwards.
An executable object is created after the compilation of the standard report or report script when a session is generated. Each session may have several reports
Charts
Instead of sending the data to a report, data can also be sent to a chart since charts are used to present the data within the database in a graphical way. Several charts may be linked to a session.
2) Session types
There are several types of sessions within BAAN IV, namely:
  • maintain
  • update
  • print
  • display
  • graph
  • conversion
The session type indicates the type of action performed by a session.
Sessions are not only distinguished by session type but also by the fact whether or not they are a main session or a subsession. Main sessions are activated directly from a menu, whereas subsessions can only be activated from within a different session.

People who read this post also read :



0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More