diff --git a/src/db/migration/V20180524_1126__mantis11035.sql b/src/db/migration/V20180524_1126__mantis11035.sql index 56ff68127..81bdfe09e 100644 --- a/src/db/migration/V20180524_1126__mantis11035.sql +++ b/src/db/migration/V20180524_1126__mantis11035.sql @@ -6,24 +6,43 @@ begin (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > RELATORIOS >> BPE'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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,1,''ADM > RELATORIOS >> BPE >>> EXPORTACAO'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.EXPORTACAO'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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,1,''ADM > RELATORIOS >> BPE >>> RDI'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.RDI'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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,1,''ADM > RELATORIOS >> BPE >>> FINANCIERO'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.FINANCIERO'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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,1,''ADM > RELATORIOS >> BPE >>> DEVOLUCION'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.DEVOLUCION'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; -end; \ No newline at end of file