From 2cf180f24e3b114491ec43069573c701fd6e1037 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 14 Dec 2009 22:23:44 +0000 Subject: [PATCH] Fix [2900600] - MQuery error: process params not active selected https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2900600&group_id=176962 Thanks to Cristi P (cristi_p) --- base/src/org/compiere/model/MQuery.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/src/org/compiere/model/MQuery.java b/base/src/org/compiere/model/MQuery.java index 5f31f210f3..e2b02ff18d 100644 --- a/base/src/org/compiere/model/MQuery.java +++ b/base/src/org/compiere/model/MQuery.java @@ -85,6 +85,7 @@ public class MQuery implements Serializable + "WHERE i.AD_PInstance_ID=ip.AD_PInstance_ID" + " AND pp.AD_Process_ID=i.AD_Process_ID" + " AND pp.ColumnName=ip.ParameterName" + + " AND pp.IsActive='Y'" + " AND ip.AD_PInstance_ID=?"; else SQL = "SELECT ip.ParameterName,ip.P_String,ip.P_String_To, ip.P_Number,ip.P_Number_To," @@ -94,6 +95,7 @@ public class MQuery implements Serializable + "WHERE i.AD_PInstance_ID=ip.AD_PInstance_ID" + " AND pp.AD_Process_ID=i.AD_Process_ID" + " AND pp.ColumnName=ip.ParameterName" + + " AND pp.IsActive='Y'" + " AND pp.AD_Process_Para_ID=ppt.AD_Process_Para_ID" + " AND ip.AD_PInstance_ID=?" + " AND ppt.AD_Language=?";