fix: refs #7213 problem rounding
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-08-30 13:14:45 +02:00
parent 3da6a700ae
commit beb54aedf8
1 changed files with 3 additions and 2 deletions

View File

@ -2,12 +2,13 @@ DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sale_setProblemRoundingByBuy`(
vBuyFk INT
)
BEGIN
/**
* Update rounding problem for all sales related to a buy
* @param vBuyFk Id buy
*/
DECLARE vItemFk INT,
DECLARE vWareHouseFk INT
DECLARE vItemFk INT;
DECLARE vWareHouseFk INT;
DECLARE vMaxDated DATE;
DECLARE vMinDated DATE;
DECLARE vLanding DATE;