IDEMPIERE-2779 Financial Report can be broken if include source accounts with no transaction

This commit is contained in:
Carlos Ruiz 2015-08-21 07:37:06 -05:00
parent 536a21a514
commit cc18b9f146
1 changed files with 0 additions and 12 deletions

View File

@ -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());
}
}
}
//