refs #6834 feat:handle Error
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-02-20 16:11:59 +01:00
parent b9fe990003
commit be81835474
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ BEGIN
WHERE sg.id = vSaleGroupFk;
IF !vHasSaleGroup THEN
CALL util.Throw ("INVALID_SALEGROUP");
CALL util.throw ("INVALID_SALEGROUP");
END IF;
SELECT COUNT(id) INTO vHasSectorCollection
@ -24,7 +24,7 @@ BEGIN
WHERE scsg.id = vSectorCollectionFk;
IF !vHasSectorCollection THEN
CALL util.Throw ("INVALID_SECTORCOLLECTION");
CALL util.throw ("INVALID_SECTORCOLLECTION");
END IF;
REPLACE sectorCollectionSaleGroup