From 461c8b3f81e7ff4978020d2359c73f91b50dc230 Mon Sep 17 00:00:00 2001 From: "thiago.clemente" Date: Wed, 21 Aug 2019 15:37:44 +0000 Subject: [PATCH] fixes bug#15347 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@96832 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20190821_1155__mantis15347.sql | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/db/migration/V20190821_1155__mantis15347.sql diff --git a/src/db/migration/V20190821_1155__mantis15347.sql b/src/db/migration/V20190821_1155__mantis15347.sql new file mode 100644 index 000000000..2bd7acd7d --- /dev/null +++ b/src/db/migration/V20190821_1155__mantis15347.sql @@ -0,0 +1,39 @@ +declare + ja_existe exception; + pragma exception_init (ja_existe , -00001); +begin + execute immediate 'update FUNCION_SISTEMA set NOMBFUNCION=''ADM > RELATORIOS >> INTEGRACAO >>> BPE'' where NOMBFUNCION=''ADM > RELATORIOS >> BPE'' and DESCRUTA=''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE'''; + exception when ja_existe then null; +end; +/ +declare + ja_existe exception; + pragma exception_init (ja_existe , -00001); +begin + execute immediate 'update FUNCION_SISTEMA set NOMBFUNCION=''ADM > RELATORIOS >> INTEGRACAO >>> BPE >>>> EXPORTACAO'' where NOMBFUNCION=''ADM > RELATORIOS >> BPE >>> EXPORTACAO'' and DESCRUTA=''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.EXPORTACAO'''; + exception when ja_existe then null; +end; +/ +declare + ja_existe exception; + pragma exception_init (ja_existe , -00001); +begin + execute immediate 'update FUNCION_SISTEMA set NOMBFUNCION=''ADM > RELATORIOS >> INTEGRACAO >>> BPE >>>> RDI'' where NOMBFUNCION=''ADM > RELATORIOS >> BPE >>> RDI'' and DESCRUTA=''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.RDI'''; + exception when ja_existe then null; +end; +/ +declare + ja_existe exception; + pragma exception_init (ja_existe , -00001); +begin + execute immediate 'update FUNCION_SISTEMA set NOMBFUNCION=''ADM > RELATORIOS >> INTEGRACAO >>> BPE >>>> FINANCIERO'' where NOMBFUNCION=''ADM > RELATORIOS >> BPE >>> FINANCIERO'' and DESCRUTA=''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.FINANCIERO'''; + exception when ja_existe then null; +end; +/ +declare + ja_existe exception; + pragma exception_init (ja_existe , -00001); +begin + execute immediate 'update FUNCION_SISTEMA set NOMBFUNCION=''ADM > RELATORIOS >> INTEGRACAO >>> BPE >>>> DEVOLUCION'' where NOMBFUNCION=''ADM > RELATORIOS >> BPE >>> DEVOLUCION'' and DESCRUTA=''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.DEVOLUCION'''; + exception when ja_existe then null; +end;