refactor: refs #7517 Added throw
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-06-10 09:08:26 +02:00
parent 391ec435ac
commit 2e8d28d795
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ BEGIN
WHERE e.id = vEntryFk;
IF vIsMerchandise THEN
IF vWarehouse IS NULL THEN
CALL util.throw('The entry does not have travel');
END IF;
REPLACE itemCost SET
itemFk = vItemFk,