This commit is contained in:
parent
7af2ae80b7
commit
746fa82f2a
|
@ -9,6 +9,15 @@ BEGIN
|
|||
*/
|
||||
DECLARE vPrinterFk INT;
|
||||
DECLARE vUserFk INT DEFAULT account.myUser_getId();
|
||||
DECLARE vIsInExpeditionPallet BOOL;
|
||||
|
||||
SELECT COUNT(id) INTO vIsInExpeditionPallet
|
||||
FROM expeditionPallet
|
||||
WHERE id = vSelf;
|
||||
|
||||
IF NOT vIsInExpeditionPallet THEN
|
||||
CALL util.throw("ExpeditionPallet not exists");
|
||||
END IF;
|
||||
|
||||
SELECT o.labelerFk INTO vPrinterFk
|
||||
FROM operator o
|
||||
|
|
Loading…
Reference in New Issue