IDEMPIERE-5833 : "parentIds" is null while zoom Partner Location in window Purchase Order (#2055)

IDEMPIERE-5567
This commit is contained in:
Zuhri Utama 2023-10-16 15:02:49 +07:00 committed by GitHub
parent 6d58f9c96f
commit ac7354b258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
//init parent tab by parent ids
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());
if (parentIds.size() > 0)
if (parentIds!=null && parentIds.size() > 0)
{
GridTab parentTab = null;
Map<Integer, MQuery>queryMap = new TreeMap<Integer, MQuery>();