Resynchronization + stock control
Use this function to resynchronize or control automatically the various data contained in stock files, at a given site or folder level.
The following scripts are available:
- Resynchronization of stock lines
- Recalculation of product-site totals
- Resynchronization of analysis requests
- Resynchronization of stock counts
- Resynchronization of assemblies
- Recalculation of lot stocks
- Control of the FIFO stack
- Control of serial numbers
When the number of serial numbers associated with a stock line is different from the stock quantity, this automatic resynchronization script is not sufficient. A manual intervention, product by product, is necessary.To do so, use the Resynchronization of series/stocks function.
- Control of information relating to the License plate numbers: their status, location, management mode (single-lot or multi-lot), and all the information on their attached stock lines.
In some cases, the Resynchronization process updates the container. For instance, the container status is updated when it is assigned stock, even if it is considered as ‘free’ in the stock file. In contrast, specific errors are only reported in the log file because they require a manual intervention. For instance, this is true when the container is not physically located in the same location as the stock lines associated with it.To correct these errors, use the License plate number operations function.
Please refer to the License plate number field help for more details on the performed controls.
These scripts can be run in direct or batch mode.
Prerequisite
Refer to documentation Implementation
Screen management
Entry screen
Enter your selection criteria, if needed, and select the resynchronization and control scripts to launch.
Once the script is complete, a log file is displayed, available for printing. This log file lists the errors found and any correction carried out.
Batch task
This function can be run in batch mode. The standard task FUNSTOR is provided for that purpose.
Error messages
In addition to the generic error messages, the following messages can appear during the entry :
Name of the site: xxx non-existent recordThis message is displayed when the specified site is not a declared site.
Lot stock de-synchronized… Correction carried outThis message is displayed when the script finds an anomaly in the stock lot file. The update of STOLOT with respect to STOCK is automatic.
Warehouse site de-synchronized… Correction carried outThis message is displayed when the script finds an anomaly in the site stock file. The ITMMVT file is automatically updated according to the information recorded in the files concerned (STOCK, STOALL…).
Orphan quality control line... Automatic deletionThis message means that the record in STOQLYD has no corresponding record in STOQLYH and STOCK.
Non-controlled quality control line... This control is to be completedThe quality control appears to be validated whereas one line has not been controlled yet. The script modifies the posting value of the VALFLG field by setting it to 1 and rewrites the record in STOQLYH.
Orphan quality control header... Automatic deletionThis message means that the record in STOQLYH has no corresponding record in STOQLYD. The record in STOQLYH is thus purged automatically.
Stock and FIFO price tables de-synchronized… FIFO price and stock control carried outThis message is displayed when the FIFO stack price and stock control processing has found an anomaly. The correction must be carried out manually.
Serial number not issued and not in stock... Automatic deletionWhen a serial number is not issued nor in stock, the deletion of the record in STOSER is automatic.