[ 1845570 ] MTable.getPO(0,Trx_Name) return null for multi key table
This commit is contained in:
parent
7cf964fc46
commit
18d3a5cb01
|
|
@ -504,7 +504,7 @@ public class MTable extends X_AD_Table
|
||||||
}
|
}
|
||||||
|
|
||||||
PO po = (PO)constructor.newInstance(new Object[] {getCtx(), new Integer(Record_ID), trxName});
|
PO po = (PO)constructor.newInstance(new Object[] {getCtx(), new Integer(Record_ID), trxName});
|
||||||
if (po != null && po.get_ID() != Record_ID)
|
if (po != null && po.get_ID() != Record_ID && Record_ID > 0)
|
||||||
return null;
|
return null;
|
||||||
return po;
|
return po;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue