IDEMPIERE-2256 Unallocated Payments Report show payments allocated / IDEMPIERE-1702 / IDEMPIERE-659
This commit is contained in:
parent
77f6d8d7e3
commit
e6136d9a5d
|
@ -173,9 +173,9 @@ public class DataEngine
|
||||||
String whereClause = rs.getString(4);
|
String whereClause = rs.getString(4);
|
||||||
if (!Util.isEmpty(whereClause)) {
|
if (!Util.isEmpty(whereClause)) {
|
||||||
if (whereClause.indexOf("@") == -1) {
|
if (whereClause.indexOf("@") == -1) {
|
||||||
query.addRestriction(whereClause);
|
queryCopy.addRestriction(whereClause);
|
||||||
} else { // replace context variables
|
} else { // replace context variables
|
||||||
query.addRestriction(Env.parseContext(ctx, 0, whereClause.toString(), false, true));
|
queryCopy.addRestriction(Env.parseContext(ctx, 0, whereClause.toString(), false, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue