Skip to content

The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。

fix qty of the old dispatch that is created when pick qty less then dispatchlist qty

JawerZeng247b240511d8
diff --git a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
index adfcb65..2e6aca7 100644
--- a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
+++ b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
@@ -715,6 +715,7 @@ namespace ModernWMS.WMS.Services
}
if (d.lock_qty < d.qty)
{
+ d.qty = d.qty - d.lock_qty;
new_dispatchlists.Add(new DispatchlistEntity
{
sku_id = vm.sku_id,