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