From e6a0ff5cb594d6e38428fdbb40abab51d8808bb3 Mon Sep 17 00:00:00 2001 From: "bruno.neves" Date: Wed, 5 Apr 2017 18:35:19 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#0008450=20-Foi=20criado=20o=20no?= =?UTF-8?q?vo=20relat=C3=B3rio,=20com=20as=20informa=C3=A7=C3=B5es=20solic?= =?UTF-8?q?itadas=20pelo=20cliente.?= 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@67733 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170323_1108__mantis8450.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20170323_1108__mantis8450.sql diff --git a/src/db/migration/V20170323_1108__mantis8450.sql b/src/db/migration/V20170323_1108__mantis8450.sql new file mode 100644 index 000000000..3ad2ef6f0 --- /dev/null +++ b/src/db/migration/V20170323_1108__mantis8450.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 >> KM PROGRAMADA'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOKMPROGRAMADA'',1,SYSDATE,-1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file