refactor: refs #7505 item_getVisible refactor #2573
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue