This function is used to create system transactions in the dictionary. These transactions will be used by the system transactions execution function to mass-update the database (create, modify or delete lines).

In addition, it is important to notice that the system transactions are included in the data dictionary. It means that revalidating the folder deletes all the system transactions that had not been protected by a specific activity code. Then, it can transfer standard system transactions in the folder if the editor decides whether to deliver system transactions in the software reference folder (currently, it is not applied).

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

The definition of a screen is made with the help of 2 tabs: the general tab for the definition of the transaction and a tab containing the formulas for the selection of records to process and tables to update.

Header

The header is used to identify the function.

Tab General

The general context linked to the system transaction is defined in this tab:

  • on the one hand, the main table and the possible linked tables that can be updated.
  • on the other hand, the possible setups to enter (in a 6 lines tables maximum). Then, these setups can be used as variables named V1 to V6 in the second tab table.

Tab Details

This tab is used to specify the lines of the joins browsed by selection criteria and to detail the updates carried out by the system transaction on these lines. This can be:

  • a record creation from a selected record (it will be necessary to set up only one line of this type by requested creation, for the corresponding key field). This is the equivalent of a record duplication.
  • a modification of the value of one or several fields (one line by field).
  • a record deletion (nothing is specified for the fields).

Specific Buttons

Validation

The validation is used to generate the automatic processing. It contains all the personalized processing for the transaction:

  • Declaration of the variables named V1, V2,..., V6
  • Declaration of the tables
  • Links between all the tables (Link instruction)
  • Filter on the records in the table, if it is unique, or an abbreviation resulting from the link.
  • Update transaction
  • Entry in the espion.tra file in the tmp directory.

Block number 1

  • Code (field COD)

This code identifies the system transaction to be launched.

  • field DES

Title associated with the previous code.

Block number 2

  • Test mode (field TEST)

If this box is checked, the transaction is carried out without any table being updated, and the trace mentions which data would be updated if the process were launched in real mode.

It is possible to set a maximum number of transactions to be processed.

  • Number of transactions (field NOMBRE)

In test mode, this field limits the number of processed table lines.

Grid

  • Variable (field VARDES)

Name of each variable which can be entered as system transaction parameter.

  • Value (field VALEUR)

It defines the values associated with the transaction parameters when said transaction is being carried out.

This button is used to directly execute the transaction. It is a system transaction utility.