In most of the objects in the software, it is possible to delete the current record by pressing the button .

This deletion is of course possible only if the "referential integrity" constraints as defined in the data dictionary, are adhered to, depending on the situation. These controls can take a relatively long time to perform, and they are carried out immediately, on-line when the delete function is called.

Obviously, if several deletions are to be performed, it would be very time consuming to run them one at a time. It is for this reason that the deferred deletions function is preferred for multiple deletions. The deferred deletion loads a database table, which store all the current deletion requests.

The Deletion function is used on one hand to view and modify these requests, and on the other to start the deletion of the queue of requests waiting to be processed.

Screen management

Entry screen

When using the function, a grid is displayed containing the current deletion requests in the form of the object code and the values of the keys.

It should be noted that when the key for the record managed by the object has a single part, only the first column is entered ; However, if there are two parts to the key, the first part is located in the second Identifier column, and the second part (which in general is the most meaningful) in the first.

The following possibilities are then available :

  • enter new deletion requests, or delete them, via direct entry in the screen
  • start the actual deletion with the button.
  • exit the function by canceling the modification and not triggering the deletion operation at this time.

At the end of execution the deletion operation creates a log file giving the results of the operation.

Batch task

This function can be run in batch mode. The standard task ADELETE is provided for that purpose.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation