0013746: Menu Dispositivo Venda Embarcada
bug#13746 dev:Ramires qua:-- git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@91357 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
321c171264
commit
229d44a544
|
@ -0,0 +1,7 @@
|
||||||
|
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,2,''ADM > SEGURANCA > DISPOSITIVO VENDA EMBARCADA'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.DISPOSITIVOVENDAEMBARCADA'',1,sysdate,1)';
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE DISPOSITIVO_EMBARCADA_HIST ADD TIPO_BLOQUEIO_DISP_EMBARCADA NUMBER(2)';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,8 @@
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
|
||||||
|
(nextval('funcion_sistema_seq'),2,'ADM > SEGURANCA > DISPOSITIVO VENDA EMBARCADA','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.DISPOSITIVOVENDAEMBARCADA',1,now(),1);
|
||||||
|
|
||||||
|
EXCEPTION WHEN unique_violation THEN NULL;
|
||||||
|
END
|
||||||
|
$$;
|
|
@ -0,0 +1,7 @@
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
ALTER TABLE DISPOSITIVO_EMBARCADA_HIST ADD TIPO_BLOQUEIO_DISP_EMBARCADA NUMERIC(2);
|
||||||
|
|
||||||
|
EXCEPTION WHEN OTHERS THEN NULL;
|
||||||
|
END
|
||||||
|
$$;
|
Loading…
Reference in New Issue