From 025e53634a6e0f827880e8ef22aa60b527399f1a Mon Sep 17 00:00:00 2001 From: sergiodt Date: Thu, 21 Mar 2024 09:32:02 +0100 Subject: [PATCH] refs #6276 feat:newWarehouse --- db/routines/vn/procedures/itemShelving_add.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/db/routines/vn/procedures/itemShelving_add.sql b/db/routines/vn/procedures/itemShelving_add.sql index 155b95cb5..fb678a1cc 100644 --- a/db/routines/vn/procedures/itemShelving_add.sql +++ b/db/routines/vn/procedures/itemShelving_add.sql @@ -20,10 +20,6 @@ BEGIN SELECT barcodeToItem(vBarcode) INTO vItemFk; - SELECT COALESCE(vPacking, GREATEST(vn.itemPacking(vBarcode,vWarehouseFk), 1)) INTO vPacking; - - SELECT vQuantity * vPacking INTO vQuantity; - IF (SELECT COUNT(*) FROM shelving WHERE code = vShelvingFk COLLATE utf8_unicode_ci) = 0 THEN INSERT IGNORE INTO parking(code) VALUES(vShelvingFk);