Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034635Openbravo ERPA. Platformpublic2016-11-25 12:412022-02-01 08:09
inigosanchez 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0034635: Add ability to use Summary Functions in tabs based on HQL Query.
Add ability to use Summary Functions in tabs based on HQL Query. Now summary Functions in tabs based on HQL Query are disabled, see https://issues.openbravo.com/view.php?id=34324 [^]

-
See similar implementation in QueryListDataSource.java. Take into account following info:

 - getQuery(...) method in HQLDataSourceService class should manage another case: When parameters of the request contains the JsonConstants.SUMMARY_PARAMETER key. This case should be manage after hqlInserters and hqlQueryTransformers changes and before search of the MAIN_FROM.

 - getData(... ) method in HQLDataSourceService class should manage another case inside the loop apart of distinct case and the rest cases: When parameters of the request contains the JsonConstants.SUMMARY_PARAMETER key and the result of the summary function should be displayed.
No tags attached.
has duplicate defect 0029858 closed inigosanchez Summary functions don't work on tabs defined based on HQL Query Tables 
related to defect 0034324 closed inigosanchez Summary function does not function for WIndow's created using hql tables. 
related to design defect 0037381 new Triage Platform Base Add ability to use Summary Functions in tabs based on Datasources. 
Issue History
2016-11-25 12:41inigosanchezNew Issue
2016-11-25 12:41inigosanchezAssigned To => platform
2016-11-25 12:41inigosanchezModules => Core
2016-11-25 12:41inigosanchezTriggers an Emergency Pack => No
2016-11-25 12:53inigosanchezProposed Solution updated
2016-11-25 12:55inigosanchezDescription Updatedbug_revision_view_page.php?rev_id=13891#r13891
2016-11-25 12:56inigosanchezRelationship addedrelated to 0034324
2017-11-21 17:16inigosanchezRelationship addedhas duplicate 0029858
2017-11-24 10:20inigosanchezRelationship addedrelated to 0037381
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.