Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/salix into test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-03-14 08:20:15 +01:00
commit 346557ed69
1 changed files with 8 additions and 0 deletions

View File

@ -18,12 +18,19 @@ BEGIN
DECLARE vCalcFk INT;
DECLARE vTypeFk INT;
DECLARE vPriority INT DEFAULT 1;
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
ROLLBACK;
RESIGNAL;
END;
SELECT warehouseFk, shipped
INTO vWarehouseFk, vShipped
FROM ticket
WHERE id = vTicketFk;
START TRANSACTION;
CALL cache.available_refresh(vCalcFk, FALSE, vWarehouseFk, vShipped);
WITH itemTags AS (
@ -92,5 +99,6 @@ BEGIN
match7 DESC,
(i.tag8 = its.tag8) DESC,
match8 DESC;
COMMIT;
END$$
DELIMITER ;