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:
parent
95bad1508c
commit
c5211d7bf3
|
|
@ -1276,7 +1276,7 @@ public abstract class PO
|
||||||
protected void load (int ID, String trxName)
|
protected void load (int ID, String trxName)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINEST)) log.finest("ID=" + ID);
|
if (log.isLoggable(Level.FINEST)) log.finest("ID=" + ID);
|
||||||
if (ID > 0)
|
if (ID > 0 || (ID == 0 && MTable.isZeroIDTable(get_TableName())))
|
||||||
{
|
{
|
||||||
setKeyInfo();
|
setKeyInfo();
|
||||||
m_IDs = new Object[] {new Integer(ID)};
|
m_IDs = new Object[] {new Integer(ID)};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue