Fix [ 1883187 ] Window Business Partner doesn't open

This commit is contained in:
Carlos Ruiz 2008-01-31 02:22:49 +00:00
parent 434f2d4c7e
commit 0029eb6f93
1 changed files with 7 additions and 4 deletions

View File

@ -303,10 +303,13 @@ public class ADWindowPanel extends Vbox implements ToolbarListener,
FindWindow find = new FindWindow(curWindowNo,
mTab.getName(), mTab.getAD_Table_ID(), mTab.getTableName(),
where.toString(), findFields, 10); // no query below 10
find.setVisible(true);
AEnv.showWindow(find);
query = find.getQuery();
find = null;
if (find.getTitle() != null && find.getTitle().length() > 0) {
// Title is not set when the number of rows is below the minRecords parameter (10)
find.setVisible(true);
AEnv.showWindow(find);
query = find.getQuery();
find = null;
}
}
return query;
} // initialQuery