fix refs #6889 set originalQuantity to 0
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-05-02 10:15:01 +02:00
parent 71f8e18b46
commit 7cb728432a
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 ;