fixes bug#20145
qua: dev:Valdir Criar tela painel venda embarcada e alterar menu venda embarcada. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@103194 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e055e7b6a3
commit
29f1a36be9
|
@ -1,18 +0,0 @@
|
||||||
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 > SEGURANCA >> PAINEL VENDA EMBARCADA EDITAR'',
|
|
||||||
''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.PAINELVENDAEMBARCADA.EDITAR'', 1, SYSDATE, 1)';
|
|
||||||
|
|
||||||
exception
|
|
||||||
when dup_val_on_index then null;
|
|
||||||
when except_02291 then null;
|
|
||||||
end;
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
DO $$
|
|
||||||
BEGIN
|
|
||||||
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id)
|
|
||||||
values (nextval('funcion_sistema_seq'),1,'ADM > SEGURANCA > PAINEL VENDA EMBARCADA','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.PAINELVENDAEMBARCADA',1,now(),1);
|
|
||||||
|
|
||||||
EXCEPTION WHEN unique_violation THEN NULL;
|
|
||||||
END
|
|
||||||
$$;
|
|
|
@ -1,7 +1,7 @@
|
||||||
DO $$
|
DO $$
|
||||||
BEGIN
|
BEGIN
|
||||||
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id)
|
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id)
|
||||||
values (nextval('funcion_sistema_seq'),1,'ADM > SEGURANCA > PAINEL VENDA EMBARCADA EDITAR','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.PAINELVENDAEMBARCADA.EDITAR',1,now(),1);
|
values (nextval('funcion_sistema_seq'),1,'ADM > SEGURANCA > PAINEL VENDA EMBARCADA','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.PAINELVENDAEMBARCADA',1,now(),1);
|
||||||
|
|
||||||
EXCEPTION WHEN unique_violation THEN NULL;
|
EXCEPTION WHEN unique_violation THEN NULL;
|
||||||
END
|
END
|
||||||
|
|
Loading…
Reference in New Issue