refs #6276 feat:newWarehouse
gitea/salix/pipeline/pr-master There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2024-03-21 09:32:02 +01:00
parent 6f0cfd421e
commit 025e53634a
1 changed files with 0 additions and 4 deletions

View File

@ -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);