0018200: Espec Melhorias no cadastro de Clientes

bug#18200
dev:thiago
qua:debora

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100838 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2020-03-19 20:36:09 +00:00
parent 056bc6b734
commit 78a32ee5f3
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
declare
begin
execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > CATALOGO > PAIS'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.PAIS'',1,SYSDATE,-1)';
exception when others then null;
end;

View File

@ -0,0 +1,7 @@
DO $$
BEGIN
ALTER TABLE PUNTO_VENTA ALTER COLUMN MOTIVONAOINTEGRADOAG TYPE VARCHAR(1000);insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(FUNCION_SISTEMA_SEQ.NEXTVAL,1,'ADM > CATALOGO > PAIS', 'COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.PAIS',1,SYSDATE,-1);
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;