feat: refs #7438 Added volume to item_valuateInventory #2505
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2505
Loading…
Reference in New Issue
No description provided.
Delete Branch "7438-item_ValuateInventory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -194,3 +197,2 @@
DELETE FROM tInventory
WHERE quantity IS NULL OR NOT quantity;
DELETE FROM tInventory WHERE quantity IS NULL OR NOT quantity;
es pot fer abans del UPDATE
@ -229,3 +200,1 @@
WHERE wh.valuatedInventory
AND i.total > 0;
END IF;
UPDATE tInventory i
es pot juntar en el UPDATE que hi ha dalt, ficant un LEFT JOIN i fer-ho tot en el mateix UPDATE