IDEMPIERE-1177 Record Info not showing UUID for zero ID records / this was affecting any program trying to read the zero ID records programatically using the ID constructor

This commit is contained in:
Carlos Ruiz 2013-07-16 10:24:49 -05:00
parent 95bad1508c
commit c5211d7bf3
1 changed files with 1 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ public abstract class PO
protected void load (int ID, String trxName)
{
if (log.isLoggable(Level.FINEST)) log.finest("ID=" + ID);
if (ID > 0)
if (ID > 0 || (ID == 0 && MTable.isZeroIDTable(get_TableName())))
{
setKeyInfo();
m_IDs = new Object[] {new Integer(ID)};