IDEMPIERE-5238 Record_ID editor (#1728)

- exclude AD_WF_Activity from the validation to avoid affecting performance
This commit is contained in:
Carlos Ruiz 2023-03-14 14:53:06 +01:00 committed by GitHub
parent c29184fbf1
commit f35585a96e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -204,7 +204,12 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
setEndWaitTime(new Timestamp(limitMS + System.currentTimeMillis()));
// Responsible
setResponsible(process);
try {
PO.setCrossTenantSafe();
saveEx();
} finally {
PO.clearCrossTenantSafe();
}
//
m_audit = new MWFEventAudit(this);
m_audit.setAD_Org_ID(getAD_Org_ID());//Add by Hideaki Hagiwara