IDEMPIERE-3844 Date+Time not respected in process parameter / peer review - dropping also a legacy TRUNC on number <= - it doesn't make any sense to have trunc on numbers just based on that condition - it's inconsistent
This commit is contained in:
parent
e964bd84e5
commit
e3a39971fc
|
@ -192,7 +192,7 @@ public class MQuery implements Serializable
|
|||
else // P_Number_To != null
|
||||
{
|
||||
if (P_Number == null)
|
||||
query.addRestriction("TRUNC("+ParameterName+")", MQuery.LESS_EQUAL,
|
||||
query.addRestriction(ParameterName, MQuery.LESS_EQUAL,
|
||||
P_Number_To, Name, Info);
|
||||
else
|
||||
query.addRangeRestriction(ParameterName,
|
||||
|
|
Loading…
Reference in New Issue