commit parcial

master
Leonardo Oliveira 2024-08-12 20:52:15 -03:00
parent 5ca0a25185
commit 06d85133af
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
declare
dup_val_on_index exception;
except_02291 exception;
pragma exception_init (dup_val_on_index , -00001);
pragma exception_init (except_02291 , -02291);
begin
execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID)
VALUES (FUNCION_SISTEMA_SEQ.nextval,''1'',''ADM > CONFIGURAÇÃO COMERCIAL >> NEGOCIOS CORPORATIVOS >> RELATORIO DETALHES CONTRATO'',
''COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.RELATORIODETALHESCONTRATO'',''1'',CURRENT_DATE,''1'')';
exception
when dup_val_on_index then null;
when except_02291 then null;
end;