17173: GLPI 19006 - Desabilitar Tipo 1 - Conta Corrente Agência
fixes bug#17173 dev:Fabio qua:Debora git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@99326 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
06ec711644
commit
fda74848ff
|
@ -0,0 +1,6 @@
|
||||||
|
declare
|
||||||
|
begin
|
||||||
|
execute immediate 'INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
||||||
|
VALUES (CUSTOM_SEQ.nextval, 1, ''selecionarTipo2ContaCorrente'', ''false'', 1, sysdate, 1)';
|
||||||
|
exception when others then null;
|
||||||
|
end;
|
|
@ -0,0 +1,10 @@
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
||||||
|
VALUES (nextval('custom_seq'), 1, 'selecionarTipo2ContaCorrente', 'false', 1, now(), 1);
|
||||||
|
|
||||||
|
EXCEPTION
|
||||||
|
WHEN OTHERS THEN NULL;
|
||||||
|
WHEN unique_violation THEN NULL;
|
||||||
|
END
|
||||||
|
$$;
|
Loading…
Reference in New Issue