From 8aad80cbf1620cf62accef2cf53e75e5a4b66927 Mon Sep 17 00:00:00 2001 From: pablone Date: Wed, 18 Sep 2024 17:45:58 +0200 Subject: [PATCH] fix(productionControl): refs #7969 --- db/routines/vn/procedures/productionControl.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/db/routines/vn/procedures/productionControl.sql b/db/routines/vn/procedures/productionControl.sql index ba8764c77..71536e12e 100644 --- a/db/routines/vn/procedures/productionControl.sql +++ b/db/routines/vn/procedures/productionControl.sql @@ -276,6 +276,7 @@ proc: BEGIN JOIN productionConfig pc SET pb.hasPlantTray = TRUE WHERE p.isPlantTray + AND s.quantity >= b.packing AND pb.isOwn; DROP TEMPORARY TABLE -- 2.40.1