====== Replenish Pick Locations Flow ======
===== Overview =====
Replenishment can be used within the same SAP Business One / PMX WMS warehouse and the aim of the function is to make sure that enough stock is available on pick locations to perform the picking process for a given period. The function has got two types in Produmex WMS, it can be location or item based.
When replenishment configurations are set for a location or an item, the Replenish Tool automatically creates replenish orders when the conditions below are met.
* The stock reaches the minimum quantity set for the location or the item.
* There is available stock on the bulk locations for replenishment.
The generated replenish orders can be executed on the shop floor with the help of the Mobile Client.
{{ :implementation:wms:functionalguide:replenishment:process.png?400 |Replenishment}}
===== Prerequisites=====
Define your bulk locations (locations that are not used for picking) and pick locations in your Organizational Structure.
During the process bulk locations are used to replenish pick locations in the warehouse. The replenishment function does not work if all the locations are set as pick locations.
===== Configuration =====
==== 1. Set the Replenishment generator ====
Select the necessary replenishment type (extension) on the [[implementation:wms:replenishmentgenerator |Replenishment generator]] and define the related settings. You can set only one of the two types.
* //Generates replenishment orders (DEREPGEN)//: Replenishment orders are triggered based on the configurations of pick __locations__.
* // Generates item based replenishment orders (BREPGEN)// : Replenishment orders are triggered based on Item Master Data configurations.
==== 2a. Location based configuration ====
1. Go to the Organizational Structure and select the necessary bin.
2. On the General tab enable the //Pick Location// option.
3. On the General tab enable the // Can Be Replenished// option.
4. Adjust the minimum quantity, the maximum quantity and replenish quantity of the item for the pick location to be replenished.
* Minimum quantity: When the quantity of an item is below the minimum quantity, the system generates a replenish order.
* Maximum quantity: The maximum quantity of an item that can be stored in a location.
* Replenish quantity: It usually refers to a box quantity, e.g. if the replenish quantity is set to 6, the item is stored in a box of 6 pieces.
For information on calculation and examples click [[implementation:wms:replenishmentgenerator|here]].
{{ :implementation:wms:functionalguide:replenishment:bin.png |}}
==== 2b. Item based configuration ====
1. Go to Item Master Data > Produmex > [[implementation:wms:imd_pmxsales|Sales tab]].
2. Fill in the //Replenishment: Quantity on Pick Locations// field.
3. Fill in the //Estimated Sales Quantity by Month// field.
For information on calculation and examples click [[implementation:wms:replenishmentgenerator|here]].
{{ :implementation:wms:functional:replenish:imd.png |Item based configuration}}
==== 3. Run the Replenish Tool ====
The tool is located in the installation folder of the Produmex Tools: //C: \Program Files\Produmex\Produmex Tools\Produmex.Sbo.Logex.Tools.ReplenishTool.exe //
The Replenish tool can be executed with the connection string parameter. The default value is //SboConnectionString//.\\
**Example:** Produmex.Sbo.Logex.Tools.ReplenishTool.exe/cs:SboConnectionString
**Useful Tip:**\\
Windows Task Scheduler can be used to run the Replenishment Tool regularly. Create a .bat file to pass the connection string parameter to the tool. Please not that creating a .bat file is fully optional.
\\
\\
**How to create a .bat file:**
- Open an empty text file.
- Add the path of the ReplenishTool.exe file between quotations marks. Press the Space button and add the connection string.
- Save the text file as a .bat file. (e.g. //Run_ReplenishTool.bat//)
- Run the .bat file to have replenish orders generated.
After running the tool, a **Move Order** is generated (not a log file). **The created Move Order** is specifically of the **Replenishment type** (as multiple Move Order types exist in the system).
Check the generated Move Order under the **Business One > Produmex menu > Reports > Open Document Report > Document Type: Move orders**. The tool does not generate a separate log file, the output of the process is the Replenishment Move Order itself.
===== Workflow =====
{{map> :implementation:wms:functional:replenish:flowchart.png |}}
* [[implementation:wms:replenishment#select_a_zone|Select zone @141,88,265,145 ]]
* [[implementation:wms:replenishment#select_replenish_order_line|Select replenish order line @141,172,265,229 ]]
* [[implementation:wms:replenishment#identify_source_logistic_unit_or_location|Identify source logistic unit or location @5,259,402,390 ]]
* [[implementation:wms:replenishment#identify_product|Identify product @170,482,295,540 ]]
* [[implementation:wms:replenishment#enter_quantity|Enter quantity @170,567,295,625 ]]
* [[implementation:wms:replenishment#scan_destination_location_SSCC|Scan destination location/SSCC @170,650,295,710 ]]
* [[implementation:wms:replenishment#logistic_unit_item_are_moved|Logistic unit/Item are moved @170,737,295,795 ]]
{{