IDEMPIERE-5238 Record_ID editor (#1705)
- fixes for the new cross-tenant validation
This commit is contained in:
parent
3c9c67ea51
commit
fe72b671ab
|
@ -662,7 +662,7 @@ public abstract class Doc
|
||||||
String AD_MessageValue = "PostingError-" + p_Status;
|
String AD_MessageValue = "PostingError-" + p_Status;
|
||||||
int AD_User_ID = p_po.getUpdatedBy();
|
int AD_User_ID = p_po.getUpdatedBy();
|
||||||
MNote note = new MNote (getCtx(), AD_MessageValue, AD_User_ID,
|
MNote note = new MNote (getCtx(), AD_MessageValue, AD_User_ID,
|
||||||
getAD_Client_ID(), getAD_Org_ID(), null);
|
getAD_Client_ID(), getAD_Org_ID(), p_po.get_TrxName());
|
||||||
note.setRecord(p_po.get_Table_ID(), p_po.get_ID());
|
note.setRecord(p_po.get_Table_ID(), p_po.get_ID());
|
||||||
// Reference
|
// Reference
|
||||||
note.setReference(toString()); // Document
|
note.setReference(toString()); // Document
|
||||||
|
|
|
@ -68,7 +68,7 @@ public abstract class AbstractElementHandler implements ElementHandler {
|
||||||
impDetail.setType(type);
|
impDetail.setType(type);
|
||||||
impDetail.setName("");
|
impDetail.setName("");
|
||||||
impDetail.setAction("");
|
impDetail.setAction("");
|
||||||
impDetail.setRecord_ID(1);
|
impDetail.setRecord_ID(0);
|
||||||
impDetail.setTableName(tableName);
|
impDetail.setTableName(tableName);
|
||||||
impDetail.setAD_Table_ID(tableId);
|
impDetail.setAD_Table_ID(tableId);
|
||||||
impDetail.saveEx(getTrxName(ctx));
|
impDetail.saveEx(getTrxName(ctx));
|
||||||
|
|
Loading…
Reference in New Issue