fix: refs #4948 ticket_selfConsumptionPackaging

This commit is contained in:
Guillermo Bonet 2024-11-26 09:11:36 +01:00
parent 2eed2f00a9
commit 45e6d7f046
1 changed files with 1 additions and 5 deletions

View File

@ -43,11 +43,7 @@ proc:BEGIN
JOIN productionConfig pc JOIN productionConfig pc
WHERE e.id = vSelf; WHERE e.id = vSelf;
IF vClientFk IS NULL OR vAddressFk IS NULL THEN IF vClientFk IS NULL OR vItemFk IS NULL THEN
CALL util.throw('Some config parameters are not set');
END IF;
IF vItemFk IS NULL THEN
LEAVE proc; LEAVE proc;
END IF; END IF;