Stock >  Utilities >  Pick replenishment resync  

Display all Hide all

The consumption area reorder plan is a workbench that uses the location change suggestion records created in the STOREO table during the launch of the consumption area reorder. The locations to be reordered, as well as the stock lines to be moved are displayed here.

Thus, when the stock is insufficient at a reorderable location and the reorder of the consumption areas is launched for this location, then the record corresponding to the location change suggestion is created in STOREO with the STAFLG (status) field given the value 1 ("Waiting reorder").

The reorder of consumption areas resynchronization processing is used to filter the records in STOREO for which the STAFLG field has an inappropriate value. In fact, when a location is waiting reorder, the STAFLG field takes the value 1. The objective of this resynchronization utility is therefore to correct the STOREO records for which the STAFLG field has the value 2 ("Reorder plan").

Pre-requisites

SEEREFERTTO Refer to documentation Implementation

When the resynchronization processing is launched, it verifies that no records exist in STOREO having the STAFLG field incorrectly set to 2.

When the stock in a location that can be reordered is less than its reorder threshold, a record in the STOREO file is created with STAFLG set to 1.

At the reorder plan level, when a location change proposal is selected it implies that the corresponding line is reserved. The STAFLG field in STOREO then temporarily takes the value 2 in order to avoid this line appearing at the same time in the lines to be processed table in another "reorder plan" session. Once the reorder is processed (creation of a reorder list) and the issue of stock generated (without the validation of the list), the STAFLG field returns to 1.

When a record is locked in STOREO, the STAFLG field can keep the value 2. This leads to two possibilities :

 Re-write of STOREO : The process verifies that the stock line has not been moved and that the location is still waiting replenishment. When this is true, it re-writes the corresponding record in STOREO with STAFLG set to 1.

 Deletion of STOREO : The processing deletes the record in STOREO when the location has already been reordered.

Batch task

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

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation