From cc18b9f146f9674641db2c8339426366b17ac134 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 21 Aug 2015 07:37:06 -0500 Subject: [PATCH] IDEMPIERE-2779 Financial Report can be broken if include source accounts with no transaction --- .../src/org/compiere/report/FinReport.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/report/FinReport.java b/org.adempiere.base/src/org/compiere/report/FinReport.java index 2c635eecb2..e4948487cd 100644 --- a/org.adempiere.base/src/org/compiere/report/FinReport.java +++ b/org.adempiere.base/src/org/compiere/report/FinReport.java @@ -1429,18 +1429,6 @@ public class FinReport extends SvrProcess sb.append (")"); unionWhere.append(sb.toString ()); } - // Posting Type - String PostingType = m_lines[line].getPostingType(); - if (PostingType != null && PostingType.length() > 0) - { - if (unionWhere.length() > 0) - unionWhere.append(" AND "); - unionWhere.append("PostingType='" + PostingType + "'"); - if (MReportLine.POSTINGTYPE_Budget.equals(PostingType)) { - if (m_lines[line].getGL_Budget_ID() > 0) - unionWhere.append(" AND GL_Budget_ID=" + m_lines[line].getGL_Budget_ID()); - } - } } //