fix: refs #7505 visible_refresh support warehouse null
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d8df9bc959
commit
88724d6d8c
|
@ -22,7 +22,7 @@ proc:BEGIN
|
|||
ENGINE = MEMORY
|
||||
SELECT item_id, amount stock, amount visible
|
||||
FROM cache.stock
|
||||
WHERE warehouse_id = v_warehouse;
|
||||
WHERE (warehouse_id IS NULL OR warehouse_id = v_warehouse);
|
||||
|
||||
-- Calculamos los movimientos confirmados de hoy
|
||||
CALL vn.item_calcVisible(NULL, v_warehouse);
|
||||
|
|
Loading…
Reference in New Issue