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:
Carlos Ruiz 2018-12-28 13:08:34 +01:00
parent e964bd84e5
commit e3a39971fc
1 changed files with 1 additions and 1 deletions

View File

@ -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,