0013650: Chamado 66819 - Relatório de Requisição (Ordem de Serviço)

fixes bug#13650
dev:Wallace
qua:Juliane

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@90294 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabricio.oliveira 2019-02-26 21:57:17 +00:00
parent 1ee9e7ab32
commit 2ecc55a2b5
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 FINANCEIRO > VENDAS DE REQUISICAO'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOVENDASREQUISICAO'',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
(nextval('funcion_sistema_seq'),2,'RELATORIOS > RELATORIOS FINANCEIRO > VENDAS DE REQUISICAO','COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOVENDASREQUISICAO',1,now(),1);
EXCEPTION WHEN unique_violation THEN NULL;
END
$$;