IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2005)
- Fix unit test errors
This commit is contained in:
parent
c941938869
commit
39d159d44a
|
@ -5794,6 +5794,12 @@ public abstract class PO
|
||||||
private void checkRecordIDCrossTenant() {
|
private void checkRecordIDCrossTenant() {
|
||||||
if (isSafeCrossTenant.get())
|
if (isSafeCrossTenant.get())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
//ad_table_id+record_id validation will fail for ad_pinstance due to ad_pinstance is
|
||||||
|
//being saved and updated outside of server process transaction.
|
||||||
|
if (I_AD_PInstance.Table_Name.equals(p_info.getTableName()))
|
||||||
|
return;
|
||||||
|
|
||||||
int idxRecordId = p_info.getColumnIndex("Record_ID");
|
int idxRecordId = p_info.getColumnIndex("Record_ID");
|
||||||
if (idxRecordId < 0)
|
if (idxRecordId < 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue