From c8e67c131f59d9571a0ebd6b5c35b0268e170a6d Mon Sep 17 00:00:00 2001 From: wilian Date: Thu, 28 Dec 2017 19:13:56 +0000 Subject: [PATCH] bug #10399 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@77597 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171228_1145__mantis10399.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20171228_1145__mantis10399.sql diff --git a/src/db/migration/V20171228_1145__mantis10399.sql b/src/db/migration/V20171228_1145__mantis10399.sql new file mode 100644 index 000000000..9df2921f7 --- /dev/null +++ b/src/db/migration/V20171228_1145__mantis10399.sql @@ -0,0 +1,8 @@ +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 > CONFIG COMERCIAL > MOTIVO DO CANCELAMENTO >> PERMITE ALTERAR MOTIVO CANCELAMENTO PARA EXIBIR NO CANCELAMENTO'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MOTIVOCANCELACION.ALTERAEXIBECANCEL'',1,sysdate,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file