From d68e31d07fa2d50f34520c235ec74ca4b1cdcd65 Mon Sep 17 00:00:00 2001 From: Leonardo Oliveira Date: Wed, 14 Aug 2024 14:32:33 -0300 Subject: [PATCH] =?UTF-8?q?Bolivariano=20-=20Institucionales=20ADM:=20Rela?= =?UTF-8?q?t=C3=B3rio=20Saldo=20Contrato=20fixes=20bug#AL-4341?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/migration/V20240814_0649__AL-4341.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/db/migration/V20240814_0649__AL-4341.sql diff --git a/src/db/migration/V20240814_0649__AL-4341.sql b/src/db/migration/V20240814_0649__AL-4341.sql new file mode 100644 index 000000000..530d9247d --- /dev/null +++ b/src/db/migration/V20240814_0649__AL-4341.sql @@ -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; \ No newline at end of file