IDEMPIERE-3072 Error in creating new record in documents with lines in big tables. / commit patch suggested by Denis Kuznetsov

This commit is contained in:
Carlos Ruiz 2016-05-08 20:38:51 -07:00
parent 8ecadf2ad9
commit 1aaa743cd2
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ public class GridTable extends AbstractTableModel
/** The SELECT clause with FROM */
private String m_SQL_Select;
/** The static where clause */
private String m_whereClause = "";
private String m_whereClause = "2=3";
/** Show only Processed='N' and last 24h records */
private boolean m_onlyCurrentRows = false;
/** Show only Not processed and x days */

View File

@ -788,7 +788,7 @@ public class CompositeADTabbox extends AbstractADTabbox
}
headerTab.getDetailPane().onEdit(getSelectedDetailADTabpanel().getGridTab().isSingleRow());
} catch (Exception e) {
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
throw new RuntimeException(e);
}
}
}