Bolivariano - Institucionales ADM: Relatório Saldo Contrato fixes bug#AL-4341

master
Leonardo Oliveira 2024-08-14 14:32:33 -03:00
parent 06d85133af
commit d68e31d07f
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 SALDOS CONTRATOS'',
''COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.RELATORIOSALDOSCONTRATOS'',''1'',CURRENT_DATE,''1'')';
exception
when dup_val_on_index then null;
when except_02291 then null;
end;