Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035277
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2017-02-13 22:112017-02-20 15:53
Reportermarkmm82View Statuspublic 
Assigned Tocollazoandy4 
PriorityurgentResolutionfixedFixed in Version3.0PR16Q4.3
StatusclosedFix in branchFixed in SCM revision288a542f5912
ProjectionnoneETAnoneTarget Version3.0PR16Q4.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarkmm82
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035277: Selected General Ledger filter value changes when pagination is executed in the Journal Entries report

DescriptionSelected General Ledger filter value changes when pagination is executed in the Journal Entries report. It seems that the report always reload the GL field and use the first value in the combo to execute the report causing be impossible to see more entries than retrieved in the first page if the selected General Ledger is not the first one in the General Ledger filter.
Steps To Reproduce1. Go to Journal Entries Report.
2. Select a valid From and To dates.
3. Set Organization filter as "F&B España S.A"
4. Set General Ledger filter as "F&B International Group US/A/US Dollar".
5. Run the report, and notice:
   Organization filter = "F&B España S.A"
   General Ledger filter as "F&B International Group US/A/US Dollar"
   In the grid of resulting values you can see entries related to US Dollar.
   At top, you will see that a yellow arrow with hint "Go to Next Record Range" has been enabled.
6. Go to the next page and notice:
   Organization filter = "F&B España S.A"
   General Ledger filter has changed to "F&B España, S.A. US/A/Euro". This is wrong.
   In the grid of resulting values you can see entries related to Euro instead of Dollar. This is wrong.
   Now two arrows are enabled (to go to the next page, and to go back to the previous page)
7. If you go to the previous page you should see the same than obtained in step 5 but you get other results related to "F&B España, S.A. US/A/Euro" GL.
   
Proposed SolutionPass the General Ledger filter as parameter when pagination is executed, just like is currently doing with the Organization filter.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0035252 closedcollazoandy4 Selected General Ledger filter value changes when pagination is executed in the Journal Entries report 

-  Notes
(0094402)
collazoandy4 (reporter)
2017-02-16 18:18

Go to Journal Entries Report
  From: 01/01/2010
  To: 31/12/2017
  Organization = *
  General Ledger= F&B International Group
  Clic on SEARCH button to obtain results in HTML
  Click on "next page" and verify that General Ledger filter doesn't change his value
(0094476)
hgbot (developer)
2017-02-20 15:39

Repository: erp/backports/3.0PR16Q4.3
Changeset: 288a542f59123053f72526b3fac91b2bf9aa329e
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Feb 16 11:18:42 2017 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/288a542f59123053f72526b3fac91b2bf9aa329e [^]

Fixes issue 35277: General Ledger filter changes with pagination in JE Report

Selected General Ledger filter value changes when pagination is executed in the
Journal Entries report

The General Ledger filter is not kept in the session to make use in the pagination.
For the solution, was saved the General Ledger Filter in the session every time
the search is executed (FIND action). By default, if there is any GL in the
session, the GL field will use the defaulted for the selected org. When paginating
always is used the account schema id stored in the session.

---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
---
(0094482)
markmm82 (developer)
2017-02-20 15:53

Code review + testing OK

- Issue History
Date Modified Username Field Change
2017-02-15 16:56 markmm82 Type defect => backport
2017-02-15 16:56 markmm82 Target Version => 3.0PR16Q4.3
2017-02-16 18:18 collazoandy4 Note Added: 0094402
2017-02-20 15:39 hgbot Checkin
2017-02-20 15:39 hgbot Note Added: 0094476
2017-02-20 15:39 hgbot Status scheduled => resolved
2017-02-20 15:39 hgbot Resolution open => fixed
2017-02-20 15:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/288a542f59123053f72526b3fac91b2bf9aa329e [^]
2017-02-20 15:53 markmm82 Review Assigned To => markmm82
2017-02-20 15:53 markmm82 Note Added: 0094482
2017-02-20 15:53 markmm82 Status resolved => closed
2017-02-20 15:53 markmm82 Fixed in Version => 3.0PR16Q4.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker