feat: previas con sitema de reservas refs #6861
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-06-12 16:12:06 +02:00
parent 671978ec02
commit 30caf79490
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
DELIMITER $$ DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemShelving_moveReserv`( CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemShelvingSale_reallocate`(
vItemShelvingFk INT(10), vItemShelvingFk INT(10),
vItemFk INT(10) vItemFk INT(10)
) )

View File

@ -89,7 +89,7 @@ BEGIN
COMMIT; COMMIT;
IF vIsItemShelvingSaleEmpty AND vQuantity <> vReservedQuantity THEN IF vIsItemShelvingSaleEmpty AND vQuantity <> vReservedQuantity THEN
CALL itemShelving_moveReserv(vItemShelvingFk, vQuantity); CALL itemShelvingSale_reallocate(vItemShelvingFk, vQuantity);
END IF; END IF;
END$$ END$$
DELIMITER ; DELIMITER ;