PO.load() broken for some tables. (Adaxa)

- AD_Ref_Table
This commit is contained in:
longnan 2012-04-04 23:40:17 +08:00
parent 6ade5ff57d
commit 1894fa898f
1 changed files with 2 additions and 1 deletions

View File

@ -1267,8 +1267,9 @@ public abstract class PO
log.finest("ID=" + ID);
if (ID > 0)
{
setKeyInfo();
m_IDs = new Object[] {new Integer(ID)};
m_KeyColumns = new String[] {p_info.getTableName() + "_ID"};
//m_KeyColumns = new String[] {p_info.getTableName() + "_ID"};
load(trxName);
}
else // new