Fix [ 1883187 ] Window Business Partner doesn't open
This commit is contained in:
parent
434f2d4c7e
commit
0029eb6f93
|
@ -303,10 +303,13 @@ public class ADWindowPanel extends Vbox implements ToolbarListener,
|
||||||
FindWindow find = new FindWindow(curWindowNo,
|
FindWindow find = new FindWindow(curWindowNo,
|
||||||
mTab.getName(), mTab.getAD_Table_ID(), mTab.getTableName(),
|
mTab.getName(), mTab.getAD_Table_ID(), mTab.getTableName(),
|
||||||
where.toString(), findFields, 10); // no query below 10
|
where.toString(), findFields, 10); // no query below 10
|
||||||
find.setVisible(true);
|
if (find.getTitle() != null && find.getTitle().length() > 0) {
|
||||||
AEnv.showWindow(find);
|
// Title is not set when the number of rows is below the minRecords parameter (10)
|
||||||
query = find.getQuery();
|
find.setVisible(true);
|
||||||
find = null;
|
AEnv.showWindow(find);
|
||||||
|
query = find.getQuery();
|
||||||
|
find = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return query;
|
return query;
|
||||||
} // initialQuery
|
} // initialQuery
|
||||||
|
|
Loading…
Reference in New Issue