7773-testToMaster_2430 #2774

Merged
alexm merged 368 commits from 7773-testToMaster_2430 into master 2024-07-23 06:21:03 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit aa0e06cfec - Show all commits

View File

@ -25,7 +25,7 @@ proc: BEGIN
WHERE warehouse_id = v_warehouse;
-- Calculamos los movimientos confirmados de hoy
CALL vn.item_getVisible(v_warehouse, util.VN_CURDATE(), NULL);
CALL vn.item_calcVisible(v_warehouse, util.VN_CURDATE(), NULL);
DELETE FROM visible WHERE calc_id = v_calc;
INSERT INTO visible (calc_id, item_id,visible)

View File

@ -1,5 +1,5 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`item_getVisible`(
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`item_calcVisible`(
vWarehouseFk INT,
vDated INT,
vItemFk INT

View File

@ -86,7 +86,7 @@ proc: BEGIN
SELECT item_id, amount stock, amount visible FROM `cache`.stock
WHERE warehouse_id = vWarehouseFk;
CALL item_getVisible(vWarehouseFk, util.VN_CURDATE(), NULL);
CALL item_calcVisible(vWarehouseFk, util.VN_CURDATE(), NULL);
UPDATE tmp.itemInventory it
JOIN tmp.itemVisible iv ON iv.item_id = it.id
SET it.visible = iv.visible;