fixes bug#15347

dev:
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@96832 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago.clemente 2019-08-21 15:37:44 +00:00
parent 0963e2e44f
commit 461c8b3f81
1 changed files with 39 additions and 0 deletions

View File

@ -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;