IDEMPIERE-5970 Reference field must be filled in Report Customization for multiple fields (#2166)
IDEMPIERE-5271
This commit is contained in:
parent
2fad0afc73
commit
b813807712
|
@ -161,7 +161,7 @@ public class MQuery implements Serializable, Cloneable
|
||||||
int Reference_ID = rs.getInt(12);
|
int Reference_ID = rs.getInt(12);
|
||||||
|
|
||||||
MUserDefProcParameter udpp = MUserDefProcParameter.get(ctx, rs.getInt(15), rs.getInt(14));
|
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();
|
Reference_ID = udpp.getAD_Reference_ID();
|
||||||
|
|
||||||
String P_Query = rs.getString(13);
|
String P_Query = rs.getString(13);
|
||||||
|
|
Loading…
Reference in New Issue