Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038844Openbravo ERPA. Platformpublic2018-06-26 16:592022-02-01 08:08
joniturralde93 
Triage Platform Base 
highminoralways
acknowledgedopen 
5
pi 
 
Core
No
0038844: Aggregate functions as new columns cannot be filtered in grid (HQL based table)
If a HQL based table is created with a column defined by an aggregate function (Sum(), Average(), Count()...), if you try to filter by that column in grid view, an error appears:
ERROR could not execute query

Also this error can be found:
ERROR: aggregate functions are not allowed in WHERE
- Create a HQL based table which contains a column defined by an aggregate function and create its columns.
- Create a Window and Tab with its fields.
- Open the tab and filter by that column value.
- An error is thrown and no results appear.
No tags attached.
Issue History
2018-06-26 16:59joniturralde93New Issue
2018-06-26 16:59joniturralde93Assigned To => platform
2018-06-26 16:59joniturralde93Modules => Core
2018-06-26 16:59joniturralde93Triggers an Emergency Pack => No
2018-07-06 11:55alostaleStatusnew => acknowledged
2018-07-06 11:55alostaleTypedefect => design defect
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.