Hi everybody,
I added multi-warehouse support to the latest version 3.40 of nopCommerce and published it as a fork at https://git01.codeplex.com/forks/hubix2000/multiwarehousesupport for contribution.
The feature set is coordinated with Andrei and will be hopefully part of 3.50.
With a setting "Use multiple warehouses" in "Shipping settings" this feature can be enabled.
There is a new tab for products available called "Inventory" where you can edit the inventory per warehouse.
The mechanism distinguishs between
- StockQuantity: Total in stock incl. ordered items not sent out yet.
- ReservedQuantity: Items, that have been ordered, but are not delivered yet
- PlannedQuantity: Items, which are already added to a shipment, but not delivered yet.
The supplied stock quantity is
StockSupplyQuantity = StockQuantity - ReservedQuantity.
There is a new table called "ProductInventory" created.
There are a couple of events fired for inventory events.
Bulk editing of products is supported.
When you upload inventory by modifying "Product.StockInventory" through SQL the inventory will be inconsistent.
You need to modify then "ProductInventory.StockInventory" for the specific product/warehouse combination, too.
Deleting/cancelling an order having delivered shipments/items just increases the inventory for the shipped, unshipped items - not the delivered once.
Missing features:
- Shelf support is not yet implemented (Store owners misusing warehouses as shelfs should try carefully).
The fork can be just complied, installed and started. Demo data for multi warehouse support are provided.
Feedback is greatly welcome.
Jörg, nopDynamics
http://www.nopdynamics.com