From ad7f78e3c11cef57fd24bd43b3a79c4a3c99d57e Mon Sep 17 00:00:00 2001 From: hengsin Date: Thu, 26 May 2022 14:40:24 +0800 Subject: [PATCH] IDEMPIERE-3294 Process Audit generate unused AD_PInstance_Para (#1344) - Fix unit test error for RequisitionTest.testComplete() --- org.adempiere.base/src/org/compiere/wf/MWFActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java index bf383e332f..7dd6ddd944 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java @@ -1129,7 +1129,6 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable pi.setAD_User_ID(getAD_User_ID()); pi.setAD_Client_ID(getAD_Client_ID()); MPInstance pInstance = new MPInstance(getCtx(), process.getAD_Process_ID(), getRecord_ID()); - pInstance.set_TrxName(trx != null ? trx.getTrxName() : null); pInstance.saveEx(); fillParameter(pInstance, trx); pi.setAD_PInstance_ID(pInstance.getAD_PInstance_ID());