CREATE OR REPLACE TRIGGER ATUALIZA_UPDATE_NOTAFISCAL BEFORE UPDATE ON NOTAFISCAL
FOR EACH ROW
BEGIN
IF (:NEW.DTENTRSAID <> :OLD.DTENTRSAID) THEN
	:NEW.DTENTRSAIDANT := :OLD.DTENTRSAID;
END IF;
END;
/
-- VERSAO --
BEGIN ATUVEROBJ('ATUALIZA_UPDATE_NOTAFISCAL','5.01.007'); END;
/

