8032-devToTest_2440 #3009
|
@ -85,7 +85,7 @@ BEGIN
|
||||||
|
|
||||||
IF(vHasDailyInvoice) AND vHasToInvoice THEN
|
IF(vHasDailyInvoice) AND vHasToInvoice THEN
|
||||||
SELECT invoiceSerial(vClientFk, vCompanyFk, 'quick') INTO vSerial;
|
SELECT invoiceSerial(vClientFk, vCompanyFk, 'quick') INTO vSerial;
|
||||||
IF NOT vSerial THEN
|
IF vSerial IS NULL THEN
|
||||||
CALL util.throw('Cannot booking without a serial');
|
CALL util.throw('Cannot booking without a serial');
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue