hotfix: refs #7640 multiple inventory #2645

Merged
guillermo merged 2 commits from 7640-multipleInventory into master 2024-07-01 05:30:32 +00:00
1 changed files with 5 additions and 5 deletions
Showing only changes of commit 9164901eac - Show all commits

View File

@ -119,11 +119,11 @@ proc: BEGIN
SET iic.visible = iic.visible + sub.visible; SET iic.visible = iic.visible + sub.visible;
UPDATE tmp.itemInventory ai UPDATE tmp.itemInventory ai
JOIN tItemInventoryCalc iic ON iic.itemFk = ai.id JOIN tItemInventoryCalc iic ON iic.itemFk = ai.id
SET ai.inventory = iic.quantity, SET ai.inventory = iic.quantity,
ai.visible = iic.visible, ai.visible = iic.visible,
ai.avalaible = iic.quantity, ai.avalaible = iic.quantity,
ai.sd = iic.quantity; ai.sd = iic.quantity;
-- Calculo del disponible -- Calculo del disponible
CREATE OR REPLACE TEMPORARY TABLE tmp.itemCalc CREATE OR REPLACE TEMPORARY TABLE tmp.itemCalc