Merge pull request '#6889 set originalQuantity to 0' (!2391) from 6889-hotfix-resetOriginalQuantity into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2391 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
0b2606096f
|
@ -52,6 +52,10 @@ BEGIN
|
||||||
|
|
||||||
SELECT LAST_INSERT_ID() INTO vSaleFk;
|
SELECT LAST_INSERT_ID() INTO vSaleFk;
|
||||||
|
|
||||||
|
UPDATE sale
|
||||||
|
SET originalQuantity = 0
|
||||||
|
WHERE id = vSaleFk;
|
||||||
|
|
||||||
CALL sale_calculateComponent(vSaleFk, NULL);
|
CALL sale_calculateComponent(vSaleFk, NULL);
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
Loading…
Reference in New Issue