Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005095Openbravo ERP09. Financial managementpublic2008-09-17 23:202008-12-16 12:16
galderromo 
vmromanos 
urgentmajoralways
closedfixed 
20Gentoo 2.6.24
 
pi 
Core
No
0005095: General Ledger: Record range inconsistency
The general ledger report has some inconsistencies when calculating the record range.

The beginning point of the range si calculated as:
String strRecordRange = Utility.getContext(this, vars, "#RecordRange", "ReportGeneralLedger");

But then, the view is built using:
String strRecordRange="500";

The problem is #RecordRange is setup to 20, so every time you press Next Range you just view 20 new records.
GPS-Top20
related to defect 0004494 closed dalsasua Navigation with the arrows between pages in large HTML reports is not clear 
Issue History
2008-09-17 23:20galderromoNew Issue
2008-09-17 23:20galderromoAssigned To => cromero
2008-09-17 23:20galderromosf_bug_id0 => 2116847
2008-09-17 23:21galderromoNote Added: 0009062
2008-09-22 10:39cromeroStatusnew => scheduled
2008-09-22 10:39cromeroNote Added: 0009110
2008-09-22 10:39cromeroAssigned Tocromero => vmromanos
2008-09-22 10:39cromerofix_in_branch => trunk
2008-09-22 17:49galderromoNote Added: 0009127
2008-09-22 20:11galderromoIssue Monitored: galderromo
2008-09-23 12:58cromeroRelationship addedrelated to 0004494
2008-09-30 12:27pjuvaraTag Attached: GPS-Top20
2008-09-30 12:27pjuvaraPrioritynormal => urgent
2008-09-30 12:27pjuvarafix_in_branchtrunk =>
2008-10-06 10:30dalsasuaStatusscheduled => resolved
2008-10-06 10:30dalsasuaFixed in Version => trunk
2008-10-06 10:30dalsasuasvn_revision => 8245
2008-10-06 10:30dalsasuaResolutionopen => fixed
2008-10-06 10:30dalsasuaNote Added: 0009370
2008-12-16 12:16psarobeRegression testing => No
2008-12-16 12:16psarobeStatusresolved => closed

Notes
(0009062)
galderromo   
2008-09-17 23:21   
My proposed solution is to use a different session variable to calculate the ranges. Or at least, calculate the initial record and the view using th same value.
(0009110)
cromero   
2008-09-22 10:39   
I would calculate the initial record and the view using the same value (#RecordRange).
(0009127)
galderromo   
2008-09-22 17:49   
I do not think that is a good idea. Take into account that value is also used on the grid. But on the grid, the value is 20 while the value on the reports is usually 500. So on of them does not make sense.
(0009370)
dalsasua   
2008-10-06 10:30   
There is no problem with the grid, because this value was used in grid only until 2.35 version. So, this bug has been fixed, when fixing https://issues.openbravo.com/view.php?id=4494 [^]

Repository: openbravo
Revision: 8245
Author: davidalsasua
Date: 2008-10-06 10:18:41 +0200 (Mon, 06 Oct 2008)

Fixes Bug 0004494: Navigation with the arrows between pages in large HTML reports is not clear

---
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=8245&sc=1 [^]