refactor: refs #7505 Minor change
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-06-11 13:36:46 +02:00
parent a9aad7406a
commit 4f10a93584
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ proc: BEGIN
SELECT item_id, amount stock, amount visible FROM `cache`.stock
WHERE warehouse_id = vWarehouseFk;
CALL vn.item_getVisible(vWarehouseFk, util.VN_CURDATE(), NULL);
CALL 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;