feat: previas con sitema de reservas refs #6861
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
ed7218c133
commit
d75e008a23
|
@ -76,14 +76,14 @@ BEGIN
|
||||||
|
|
||||||
IF vHasThrow THEN
|
IF vHasThrow THEN
|
||||||
CALL util.throw("No hay disponibilidad para el artículo seleccionado");
|
CALL util.throw("No hay disponibilidad para el artículo seleccionado");
|
||||||
ELSE
|
|
||||||
IF vSaleGroupFk THEN
|
|
||||||
INSERT INTO saleGroupDetail
|
|
||||||
SET saleFk = vSaleFk,
|
|
||||||
saleGroupFk = vSaleGroupFk;
|
|
||||||
END IF;
|
|
||||||
COMMIT;
|
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
IF vSaleGroupFk THEN
|
||||||
|
INSERT INTO saleGroupDetail
|
||||||
|
SET saleFk = vSaleFk,
|
||||||
|
saleGroupFk = vSaleGroupFk;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
Loading…
Reference in New Issue