#6889 set originalQuantity to 0 #2391

Merged
alexm merged 1 commits from 6889-hotfix-resetOriginalQuantity into master 2024-05-02 10:07:29 +00:00
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ BEGIN
SELECT LAST_INSERT_ID() INTO vSaleFk;
UPDATE sale
SET originalQuantity = 0
WHERE id = vSaleFk;
CALL sale_calculateComponent(vSaleFk, NULL);
END$$
DELIMITER ;