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 Dispatchlist comfirm when qty_available less then qty needed to pick

JawerZengf9cb4df8c0f0
diff --git a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
index b585b4a..43bd958 100644
--- a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
+++ b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs
@@ -741,7 +741,6 @@ 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,
@@ -749,6 +748,7 @@ namespace ModernWMS.WMS.Services
qty = d.qty - d.lock_qty,
tenant_id = currentUser.tenant_id
});
+ d.qty = d.lock_qty;
}
}
else