IDEMPIERE-5833 : "parentIds" is null while zoom Partner Location in window Purchase Order (#2055)
IDEMPIERE-5567
This commit is contained in:
parent
6d58f9c96f
commit
ac7354b258
|
@ -516,7 +516,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
//init parent tab by parent ids
|
//init parent tab by parent ids
|
||||||
StringBuilder sql = new StringBuilder("SELECT ").append(gTab.getLinkColumnName()).append(" FROM ").append(gTab.getTableName()).append(" WHERE ").append(query.getWhereClause());
|
StringBuilder sql = new StringBuilder("SELECT ").append(gTab.getLinkColumnName()).append(" FROM ").append(gTab.getTableName()).append(" WHERE ").append(query.getWhereClause());
|
||||||
List<Object> parentIds = DB.getSQLValueObjectsEx(null, sql.toString());
|
List<Object> parentIds = DB.getSQLValueObjectsEx(null, sql.toString());
|
||||||
if (parentIds.size() > 0)
|
if (parentIds!=null && parentIds.size() > 0)
|
||||||
{
|
{
|
||||||
GridTab parentTab = null;
|
GridTab parentTab = null;
|
||||||
Map<Integer, MQuery>queryMap = new TreeMap<Integer, MQuery>();
|
Map<Integer, MQuery>queryMap = new TreeMap<Integer, MQuery>();
|
||||||
|
|
Loading…
Reference in New Issue