Among other things, the article includes descriptions of how to use the application Reorganization of quality management master data and its parameters.
Definitions of terms
- Background application-is an application that, when launched, runs in the background of the system, allowing the user to use other applications. It can be opened by a processing task.
- Reorganization – Reorganization of data results in its physical removal from the database. Deletion requires a series of successful checks. Reorganization also removes any business objects that depend on the data being deleted.
- Reorganization applications-these are applications that run in the background. Reorganization applications are used to reorganize master data and transaction data according to specific criteria.
- Reorganization order-a processing request that triggers one or more reorganization applications.
Application description
The Reorganization of quality management master data application is a background application. It allows you to delete data and parameters entered in the applications of the Quality Control module.
In order for data reorganization to take place, the objects to be deleted must be marked with a deletion marker. Once the reorganization has been carried out correctly, these items will be removed from the application.
The application is in the form of a dialog box, standard for background applications. It consists of Application and Settings tabs, divided into sections and further tabs.
Application tab
This tab contains fields identifying the application showing its name and development object. Two additional tabs are located here:
Action tab
Maximum running time – this is the maximum period of time after which the reorganization application will be terminated. The default value is ten minutes.
Quality master data of reorganization objects – in this field you can select which types of quality data are to be reorganized. Several values can be selected. The following types can be selected:
- Parameter
- Method
- Type of control plan
- Inspection plan
- Types of control orders
The application running in the background needs to check all the above-mentioned objects and remove those that have a delete tag. However, before all objects are deleted, it is necessary to check whether they can be deleted and whether they are not used.
The application will process the data if the following conditions are met:
- The data are marked with a deletion marker,
- The data is not used by other applications.
Settings tab
The tab contains settings for background application processing.
Processing order – the name of the processing order. The field can be completed manually. With this name in the Processing Orders application, it will be possible to find a specific order by name.
User – the ID of the user who orders the background action. The field automatically filled with the data of the logged-in user. The data can be changed manually or by using the [Value completion help] button on the right side of the line.
OLTP database – the OLTP database to which the user is logged in. The value can be edited by selecting the database from the drop-down list.
Content language – retrieved from the settings level the content language of the OLTP database on which background processes are executed. The values available for this field are in the drop-down list.
Processing queue (mandatory field) – the queue according to which the tasks scheduled in the system will be processed. Processing of a new file will start when the previous file in the queue has been processed. The value in this field must be entered manually or by using the [Value completion help] button. You can also set the default processing queue in the User Settings application, in which case the Processing Queue field will fill in automatically.
Application server – the application server on which the background action is to be executed. The field can be completed using the [Value completion help] button.
Start – from the drop-down list, select the value that determines the start time of the reorganization Available values:
Move to queue – (default value) the reorganization order is added to the queue of executed actions
When restarting the application server – the reorganization will be performed when the server is restarted
Timing activation: externally – allows you to control the timing of background applications from within the operating system
Time activation: one-time – allows you to define the duration of the application once using the fields: Start and Maximum duration
Time activation: serial – selecting this option activates additional fields:
- Series error – responsible for displaying messages when an action order fails or encounters a problem
- Start – the time when the background activity starts (date and time)
- Maximum action time – allows you to specify the maximum time to perform an action
- Notification after timeout – activates the presentation of a message when the time specified for background operation is exceeded
- Serial pattern – allows you to define a template for background activities. When you press the field, the Serial Pattern window will open, where you can enter settings.
- End – allows you to specify the end of the background runtime
Notification – a field that allows you to select from a drop-down list whether, how and in what situation notifications about the status of reorganization should be displayed. Available options:
- Not
- Through dialogue
- Through dialogue, only in case of errors
- Through the workflow
- Through workflow, only in case of errors
Release immediately (parameter available and checked by default, if the Start field indicated the values Move to queue or While restarting the application) – the parameter causes the reorganization to start immediately. If the parameter is not checked, the processing order must be released using the Processing Order application, otherwise the process will not continue.
To start the reorganization, select the [Background] button after defining the processing settings.