In object management, the software manages the fact that a user is in the process of modifying a record by blocking a symbol. This locking, obtained by the L4G instruction Lock, corresponds to the creation of an entry identified by a character string (a symbol) in a table in the database: the APLLCK table, which manages the locked symbols.
This is NOT however line locking in the database sense. Indeed:
The easiest way to see that a record is locked in object management is the presence of an icon representing a key in the bar at the bottom of the screen. This key means that when you read the record, it was locked. An attempt to modify the record will check if the lock is still present. If it is no longer locked, the user who attempted the modification will in turn lock the record. If a key is missing when you read the record without any modification restriction, the lock is set.
In standard or combined object management, the symbol used in the object management is constructed from the object code followed by the current key. If there is more than one segment of a key, place the second component first (it is usually the most descriptive), followed by the backslash (\), followed by the key's first component (then as required, the remaining segments in order from the 3rd, always using the same separator).
In table object management, when all of the table is locked, the name of the table is used as the symbol.
In this way, for example:
The symbol verification function is used to display the list of symbols locked in this way.
This function is presented as a single screen without a left list.
Presentation
A grid is displayed with each line identifying a locked symbol and giving the characteristics of the user that locks them.
The function is exited by the button.
Close
Fields
The following fields are present on this tab :
|
Defines the symbol locked by the user. |
|
Corresponds to the network identification of the workstation that locked the symbol. |
|
Defines the user code under which the workstation that locked the symbol is connected |
|
  |
|
Corresponds to a unique identifier (in a given folder) for the session that locks the symbol (this corresponds to the evaluation of the formula adxuid(1) for the session in question). |
|
  |
Close
Action icon
Used to switch to surveillance of users in order to visualize the information ralated to the session that is locking the symbol (the only session displayed will be the one).
Close