fixes bug#18256

dev:thiago
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100186 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2020-02-12 21:25:01 +00:00
parent a4c342a9da
commit d43767e969
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
declare
begin
execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > SEGURANCA > EXTRAIR BP-e XML'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.EXTRAIRBPEXML'',1,SYSDATE,-1)';
exception when others then null;
end;

View File

@ -0,0 +1,8 @@
DO $$
BEGIN
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(nextval('funcion_sistema_seq'),1,'ADM > SEGURANCA > EXTRAIR BP-e XML','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.EXTRAIRBPEXML',1,now(),1);
EXCEPTION WHEN unique_violation THEN NULL;
END
$$;