From afbce80303782ec1474b310741d418d01fb8c4a6 Mon Sep 17 00:00:00 2001 From: sergiodt Date: Mon, 22 Jul 2024 13:42:42 +0200 Subject: [PATCH] hotFix solve isPicked refs #6861 --- db/routines/vn/procedures/itemShelvingSale_addBySale.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/routines/vn/procedures/itemShelvingSale_addBySale.sql b/db/routines/vn/procedures/itemShelvingSale_addBySale.sql index 96c49b788..757f880f9 100644 --- a/db/routines/vn/procedures/itemShelvingSale_addBySale.sql +++ b/db/routines/vn/procedures/itemShelvingSale_addBySale.sql @@ -98,11 +98,12 @@ proc: BEGIN itemShelvingFk, saleFk, quantity, - userFk) + isPicked) SELECT vItemShelvingFk, vSaleFk, vReservedQuantity, - vUserFk; + vUserFk, + FALSE; UPDATE itemShelving SET available = available - vReservedQuantity -- 2.40.1