IDEMPIERE-5970 Reference field must be filled in Report Customization for multiple fields (#2166)

IDEMPIERE-5271
This commit is contained in:
Carlos Ruiz 2023-12-29 05:37:17 +01:00
parent 2fad0afc73
commit b813807712
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ public class MQuery implements Serializable, Cloneable
int Reference_ID = rs.getInt(12);
MUserDefProcParameter udpp = MUserDefProcParameter.get(ctx, rs.getInt(15), rs.getInt(14));
if (udpp != null)
if (udpp != null && udpp.getAD_Reference_ID() > 0)
Reference_ID = udpp.getAD_Reference_ID();
String P_Query = rs.getString(13);