From bd7a6c7a4f9da953f769cca989dc8c6eeb76936e Mon Sep 17 00:00:00 2001 From: alberto Date: Fri, 23 Dec 2016 13:10:47 +0000 Subject: [PATCH] =?UTF-8?q?Exporta=C3=A7=C3=A3o=20Fiscal=20:=20ECF=20e=20R?= =?UTF-8?q?MD=20(issue=208120)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@64020 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161222_1130__mantis8120.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20161222_1130__mantis8120.sql diff --git a/src/db/migration/V20161222_1130__mantis8120.sql b/src/db/migration/V20161222_1130__mantis8120.sql new file mode 100644 index 000000000..4a3336b29 --- /dev/null +++ b/src/db/migration/V20161222_1130__mantis8120.sql @@ -0,0 +1,9 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'insert into FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) + values (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > RELATORIOS > EXPORTACAO FISCAL'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.EXPORTACAO.RMDECF'',1,SYSDATE, -1)'; + + exception when dup_val_on_index then null; +end; \ No newline at end of file