0017313: Ouro e Prata - (GLPI - 19169) Cobrança adicional no Corrente Agencia - (taxa impressora BPe)

bug#17313
dev:thiago
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@99441 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2019-12-20 17:31:07 +00:00
parent 494adc34ab
commit 9fe2beedc8
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,8 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'INSERT INTO TIPO_OPERACION_CC (TIPOOPERACIONCC_ID, DESCTIPO, CVETIPO, INDCREDITO, ACTIVO, FECMODIF, USUARIO_ID) VALUES (6, ''COBRANCA ADICIONAL'', ''CA'', 0, 1, SYSDATE, 99)';
exception when dup_val_on_index then null;
end;

View File

@ -0,0 +1,6 @@
DO $$
BEGIN
INSERT INTO TIPO_OPERACION_CC (TIPOOPERACIONCC_ID, DESCTIPO, CVETIPO, INDCREDITO, ACTIVO, FECMODIF, USUARIO_ID) VALUES (6, 'COBRANCA ADICIONAL', 'CA', 0, 1, SYSDATE, 99);
EXCEPTION WHEN duplicate_object THEN NULL;
END
$$;