13714: Relatório embarque por localidade - AGERBA

bug#13714
dev:lucas
qua:renato

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@90544 d1611594-4594-4d17-8e1d-87c2c4800839
master
leonardo 2019-03-07 20:38:26 +00:00
parent 37e3755eb6
commit ba00eee688
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
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,2,''RELATORIOS > RELATORIOS OPERACIONAIS > EMBARQUE LOCALIDADE'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOEMBARQUELOCALIDADE'',1,sysdate,1)';
end;

View File

@ -0,0 +1,8 @@
DO $$
BEGIN
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(funcion_sistema_seq.nextval,2,'RELATORIOS > RELATORIOS OPERACIONAIS > EMBARQUE LOCALIDADE',
'COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOEMBARQUELOCALIDADE',1,sysdate,1);
EXCEPTION WHEN unique_violation THEN NULL;
END
$$;