Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009932Openbravo ERP09. Financial managementpublic2009-07-16 16:052009-07-23 00:00
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
pi 
2.50MP3 
Core
No
0009932: Several reports depend ReportTrialBalance_data.xsql which makes customizations harder
If you want to customize i.e. the ReportGeneralLedger in a module you also need to all non-public files which the ReportGeneralLedger needs into your module. This includes the ReportTrialBalanceData file which can be avoided by using a public utiltiy method (TreeData.getTreeOrg) in the reports instead of an internal, non-public method of the ReportTrialBalanceData (treeOrg).
250MP3releasecandidate, leo
related to defect 0009935 closed shuehner Several reports depend GeneralAccountingReports_data.xsql which makes customizations harder 
related to defect 0009946 closed shuehner Several reports depend on SubCategoryProducts_data.xsql which makes customization of these hard 
related to defect 0009947 closed shuehner Several reports depend on ReportWarehousePartner_data.xsql which makes customization of these harder 
Issue History
2009-07-16 16:05shuehnerNew Issue
2009-07-16 16:05shuehnerAssigned To => shuehner
2009-07-16 16:07hgbotCheckin
2009-07-16 16:07hgbotNote Added: 0018325
2009-07-16 16:07hgbotStatusnew => resolved
2009-07-16 16:07hgbotResolutionopen => fixed
2009-07-16 16:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/94b87066d3c9c0ad98529084b92df7f649c55d57 [^]
2009-07-16 18:28shuehnerRelationship addedrelated to 0009935
2009-07-16 19:33shuehnerNote Added: 0018337
2009-07-17 17:51shuehnerRelationship addedrelated to 0009946
2009-07-17 19:20shuehnerRelationship addedrelated to 0009947
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 18:43psarobeTag Attached: leo
2009-07-22 07:26elopioStatusresolved => closed
2009-07-23 00:00anonymoussf_bug_id0 => 2825619

Notes
(0018325)
hgbot   
2009-07-16 16:07   
Repository: erp/devel/pi
Changeset: 94b87066d3c9c0ad98529084b92df7f649c55d57
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Jul 16 16:07:30 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/94b87066d3c9c0ad98529084b92df7f649c55d57 [^]

Fixed 9932: Remove dependency on ReportTrialBalanceData from two other reports
- remove usage of ReportTrialBalanceData.treeOrg from ReportAgingBalance & ReportGeneralLedger
- instead use public utility method TreeData.getTreeOrg
This makes customizing the other two reports easier.

---
M src/org/openbravo/erpCommon/ad_reports/ReportAgingBalance.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance_data.xsql
---
(0018337)
shuehner   
2009-07-16 19:33   
@qa:

Please test the organization dropdown functionality (shows correct values for orgs, depending on access, and the filter by the selected access in the report execution) for the following reports:

- ReportAgingBalance
- ReportGeneralLedger
- ReportTrialBalance