refactor: refs #7505 item_getVisible refactor #2573

Merged
guillermo merged 13 commits from 7505-item_calcVisible into dev 2024-07-10 05:03:19 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit a9aad7406a - Show all commits

View File

@ -87,9 +87,9 @@ proc: BEGIN
WHERE warehouse_id = vWarehouseFk;
CALL vn.item_getVisible(vWarehouseFk, util.VN_CURDATE(), NULL);
UPDATE tmp.itemInventory it
JOIN tmp.itemVisible iv ON iv.item_id = it.id
SET it.visible = iv.visible;
UPDATE tmp.itemInventory it
JOIN tmp.itemVisible iv ON iv.item_id = it.id
SET it.visible = iv.visible;
-- Calculo del disponible
CREATE OR REPLACE TEMPORARY TABLE tmp.itemCalc