From 8f0c18514136b8f7004f6315a9fed87187d08066 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 13 Sep 2017 21:51:03 +0800 Subject: [PATCH] IDEMPIERE-3485 Report/Process: Unique constraint exception after save parameter --- .../src/org/adempiere/webui/apps/AbstractProcessDialog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java index 40b1e6db52..99dea34eb2 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java @@ -644,6 +644,8 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI saveReportOptionToInstance(savedParams.get(i)); savedParams.get(i).saveEx(); + + getProcessInfo().setAD_PInstance_ID(0); } } }