From de0227105d22094139cc12a5ddf8e317fb040e67 Mon Sep 17 00:00:00 2001 From: "bruno.neves" Date: Mon, 5 Dec 2016 18:50:48 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#0008523=20-=20adicionada=20a=20p?= =?UTF-8?q?ermiss=C3=A3o=20para=20o=20bloqueio=20de=20edi=C3=A7=C3=A3o=20n?= =?UTF-8?q?a=20tela:=20CATALOGOS=20>>=20EMPRESA=20>>=20RESTRINGE=20VENDA?= =?UTF-8?q?=20SE=20RED.=20Z=20NAO=20EMITIDA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@63200 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161205_1604__mantis8325.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20161205_1604__mantis8325.sql diff --git a/src/db/migration/V20161205_1604__mantis8325.sql b/src/db/migration/V20161205_1604__mantis8325.sql new file mode 100644 index 000000000..c39779005 --- /dev/null +++ b/src/db/migration/V20161205_1604__mantis8325.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 > CATALOGOS >> EMPRESA >> RESTRINGE VENDA SE RED. Z NAO EMITIDA'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.EMPRESA.RESTRIGEVENDAREDUCAOZ'',1,SYSDATE,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file