IDEMPIERE-130 List Transaction on Financial Report Do Not Apply Parameter Filter / Thanks to Edwin Ang for the fix
This commit is contained in:
parent
258e6224f6
commit
3c1c17a1af
|
@ -16,6 +16,8 @@
|
|||
*****************************************************************************/
|
||||
package org.compiere.report;
|
||||
|
||||
import static org.compiere.model.SystemIDs.TABLE_T_REPORT;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
|
@ -25,7 +27,6 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MAcctSchemaElement;
|
||||
import org.compiere.model.MReportCube;
|
||||
import static org.compiere.model.SystemIDs.*;
|
||||
import org.compiere.print.MPrintFormat;
|
||||
import org.compiere.print.MPrintFormatItem;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
|
@ -1093,6 +1094,7 @@ public class FinReport extends SvrProcess
|
|||
String s = m_report.getWhereClause();
|
||||
if (s != null && s.length() > 0)
|
||||
insert.append(" AND ").append(s);
|
||||
insert.append(m_parameterWhere); // IDEMPIERE-130
|
||||
// Period restriction
|
||||
FinReportPeriod frp = getPeriod (0);
|
||||
insert.append(" AND TRUNC(DateAcct) ")
|
||||
|
|
Loading…
Reference in New Issue