fixed bug #8030 - Correção em geração OCD onde não gerava o registro de caja referente ao cancelamento por dinheiro.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@61194 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
8e61f94f6a
commit
e54741c294
|
@ -0,0 +1,11 @@
|
||||||
|
declare
|
||||||
|
col_count integer;
|
||||||
|
begin
|
||||||
|
select count(*)
|
||||||
|
into col_count from FORMA_PAGO
|
||||||
|
where FORMAPAGO_ID = 35;
|
||||||
|
if col_count = 0 then
|
||||||
|
Insert into FORMA_PAGO (FORMAPAGO_ID,DESCPAGO,EQUIVALENCIA_ID,ACTIVO,FECMODIF,USUARIO_ID,INDOPERACION,CVEPAGO,IMPFISCAL,INDCONFERENCIAFISICACOMISSAO) values ('35','GERACAO OCD',null,'1',sysdate,'1',null,'GO',null,'0');
|
||||||
|
commit;
|
||||||
|
end if;
|
||||||
|
end;
|
Loading…
Reference in New Issue