feat: previas con sitema de reservas refs #6861 #2176
|
@ -76,14 +76,14 @@ BEGIN
|
|||
|
||||
IF vHasThrow THEN
|
||||
CALL util.throw("No hay disponibilidad para el artículo seleccionado");
|
||||
carlosap marked this conversation as resolved
Outdated
|
||||
ELSE
|
||||
IF vSaleGroupFk THEN
|
||||
INSERT INTO saleGroupDetail
|
||||
SET saleFk = vSaleFk,
|
||||
saleGroupFk = vSaleGroupFk;
|
||||
END IF;
|
||||
COMMIT;
|
||||
END IF;
|
||||
|
||||
|
||||
jgallego marked this conversation as resolved
Outdated
jgallego
commented
no pots posar ací el throw? no pots posar ací el throw?
carlosap
commented
No hi ha un error especific per a caada error, s'aprofita la variable vHasThrow en varios puestos No hi ha un error especific per a caada error, s'aprofita la variable vHasThrow en varios puestos
|
||||
IF vSaleGroupFk THEN
|
||||
INSERT INTO saleGroupDetail
|
||||
SET saleFk = vSaleFk,
|
||||
saleGroupFk = vSaleGroupFk;
|
||||
END IF;
|
||||
|
||||
COMMIT;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
Loading…
Reference in New Issue
castella no.