This document explains how you analyze and repair mismatches in the database for allocations, inventory, planning, and rental related data.
Using selection orientation 0 and 1 in this function, you can check which setup of synchronization is used:
If an error is detected, the item/warehouse combination is recorded in a message file.
This routine is used to repair mismatches for allocation, inventory, and planning data in the database.
For more details on how the system is affected, see Managing Mismatches for Item per Warehouse.
Using selection orientation 2 in this function, you can check if the reservation, outbound DO, inbound DO, and deliveries connected to a rental agreement line are synchronized with the rental line. Agreements that can be analyzed are limited to status 20, 40 or 50. When checking for errors, the basis is always the rental line status. This means that the rental line status is always assumed to be correct.
Start 'Item per Warehouse. Analyze and Repair' (MWS980/B). Set the panel sequence to E, F.
Specify an ID for the analyze round and the selection orientation, then select 1='Create'.
Press Enter. The E panel is displayed and an analyze round is created with status 10-'New'. Depending on which selection orientation that was set, the E panel displays different fields.
Specify the 'Description' field and choose which checks you want performed. For selection orientation 0 these checks are available:
For selection orientation 2 these checks are available:
Press Enter. The F panel is displayed.
The 'Select by event file based on changed transactions' field indicates whether the analysis round should be selected on the records in the event file. Transactions for each item/warehouse are written to the event file. This field is not available if selection orientation 2 has been selected.
Select the warehouses and/or items to include in the analysis round. If you do not specify these fields, all warehouses and items are selected. If selection orientation 2 has been selected, fields for rental agreement status are also available. Only agreements with status 20, 40 and 50 can be used as a qualifier for searching records in (MWS980).
The 'Latest warehouse' and 'Latest item' fields indicate the last warehouse record and item record being processed when the analysis round was stopped. Use these fields to determine where the analysis round will start.
Press Enter. (MWS980/B) is displayed, with the created analysis round in status 10-'New'.
Select option 9='Analyze by selections' on (MWS980/B). While the analyze round is processing, the status is 20-'Submitted'.
After running the analyze round, these statuses follow:
You can run and attempt to repair errors on the same command as an alternative. Select option 21='Repair by selections'.
You can also pause an ongoing analyze round. Select option 7= 'Pause round'. This finishes the ongoing process for the item/warehouse record. The round gets status 21-'Paused'. Later, you can start the analyze round again from where it was stopped. To restart the analyze round, use the same option that you stopped it with.
Use option 4='Delete' to delete the record in MWASHE 'Item per Warehouse. Analyze and Repair' (MWS980) and the corresponding records in MWASLN 'Analyze Round. Repair Errors' (MWS981) and MWASMG 'Analyze Round. Display Message' (MWS982).
This option must not be used when an analyze or repair is ongoing for the round.
Use option 10='Analyze by result' to perform an analyze based on the result in the MWASLN table.
Options on (MWS980/B)
Start (MWS980). From (MWS980/B) you can try to repair errors. Select option 22='Repair by result'. This option submits a repair attempt for the result in the log file (MWS981).
See a list with all messages in: Managing Mismatches for Item per Warehouse.
To display and repair errors, select option 11='Result'. This starts (MWS981), the error log file.
Options on (MWS981/B)
If there are obstacles against an error for some of the items, you can select option 4='Delete'. This deletes records in MWASLN (MWS981) and MWASMG (MWS982). This option must not be used when an analyze or repair is ongoing for the round.
If you want to repair the actual record (per item/warehouse) use option 21= 'Repair'. This submits a repair attempt.
These are the statuses for an error:
To display messages for each errors/analyze round, select option 12='Message'. This starts (MWS982).