Description
(There is no description for trigger OPORTUNIDADES_AU0)
Definition
CREATE TRIGGER OPORTUNIDADES_AU0 FOR OPORTUNIDADES
ACTIVE AFTER UPDATE POSITION 0
AS
BEGIN
IF (NEW.congelar = 'N') THEN
INSERT INTO log_oportunidades (item, fecha, cierre, proxima, nivel_interes, nota, paso_a_paso, codtercero, codusuario, codcontacto, codrelacion, codsolucion)
VALUES (OLD.item, OLD.fecha, OLD.cierre, OLD.proxima, OLD.nivel_interes, OLD.nota, OLD.paso_a_paso, OLD.codtercero, OLD.codusuario, OLD.codcontacto, OLD.codrelacion, OLD.codsolucion);
END
![]() ![]() ![]() |