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)
This commit is contained in:
parent
0eaee94caa
commit
2cf180f24e
|
@ -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=?";
|
||||
|
|
Loading…
Reference in New Issue