fixed bug #7107 - Correção de erros ao executar relatório, não estava trazendo alguns registros.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@53113 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
49c428b54d
commit
2eb41f91fd
|
@ -151,12 +151,12 @@ public class RelatorioDepositosDetalhado extends Relatorio {
|
|||
sQuery.append(" JOIN INSTI_FINANCEIRA IF ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" if.INSTIFINANCEIRA_ID = FD.INSTIFINANCEIRA_ID ");
|
||||
sQuery.append(" JOIN EMPRESA_CONTABANCARIA ec ");
|
||||
sQuery.append(" LEFT JOIN EMPRESA_CONTABANCARIA ec ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" EC.EMPRESA_ID = FC.EMPRESA_ID ");
|
||||
sQuery.append(" AND EC.INSTIFINANCEIRA_ID = if.INSTIFINANCEIRA_ID ");
|
||||
sQuery.append(" AND EC.ACTIVO = 1 ");
|
||||
sQuery.append(" JOIN PTOVTA_EMPRESA pve ");
|
||||
sQuery.append(" LEFT JOIN PTOVTA_EMPRESA pve ");
|
||||
sQuery.append(" ON ");
|
||||
sQuery.append(" PVE.EMPRESA_ID = e.empresa_id ");
|
||||
sQuery.append(" AND PVE.PUNTOVENTA_ID = PV.PUNTOVENTA_ID ");
|
||||
|
|
Loading…
Reference in New Issue