Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011976Openbravo ERP09. Financial managementpublic2010-01-15 09:512010-04-07 11:21
networkb 
dalsasua 
highmajoralways
closedfixed 
5
2.50MP1 
2.50MP14pi 
Core
No
0011976: Accounting Report does not calculate properly parents' amount
If a Tree is defined in User Defined Accounting Report Setup, when the report is executed, the parent nodes have an uncorrect amount.

See attached image.
Go to Financial Management > Accounting > Analysis tools > User Defined Accounting Report Setup.
Create a new register called Register. Check Active, Report, Shown, Summary Level and Filtered by Organization. Reporting interval : Monthly.
Create other register called Debit. Check Active and Shown. Select an Account (IE 555).
Create other register called Marketing. Check Active, Shown, Summary Level.
Then, reorganize the tree (use Tree button in the toolbar). See attached image.
Go to Financial Management > Accounting > Analysis tools > User Defined Accounting Report. Select this report, an Acccounting Schema, a Period and a Year (IE SmallBazaar -October -06).
Regression
jpg Tree.jpg (94,084) 2010-01-15 09:51
https://issues.openbravo.com/file_download.php?file_id=2135&type=bug
jpg

jpg Report.jpg (70,442) 2010-01-15 09:52
https://issues.openbravo.com/file_download.php?file_id=2136&type=bug
jpg
Issue History
2010-01-15 09:51networkbNew Issue
2010-01-15 09:51networkbAssigned To => rafaroda
2010-01-15 09:51networkbFile Added: Tree.jpg
2010-01-15 09:52networkbFile Added: Report.jpg
2010-01-21 11:22rafarodaNote Added: 0023701
2010-01-21 11:22rafarodaAssigned Torafaroda => dalsasua
2010-01-22 17:44dalsasuaPriorityimmediate => high
2010-01-22 17:44dalsasuaSeverityminor => major
2010-01-22 17:44dalsasuaStatusnew => scheduled
2010-01-22 17:45dalsasuaNote Added: 0023762
2010-02-17 16:01hgbotCheckin
2010-02-17 16:01hgbotNote Added: 0024495
2010-02-17 16:01hgbotStatusscheduled => resolved
2010-02-17 16:01hgbotResolutionopen => fixed
2010-02-17 16:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a3591dda3f7038b5b70bf60cd460fc97b4d1c80d [^]
2010-02-17 17:29dalsasuaNote Added: 0024506
2010-02-17 17:29dalsasuaStatusresolved => closed
2010-02-17 17:29dalsasuaFixed in Version => pi
2010-02-18 00:00anonymoussf_bug_id0 =>
2010-02-19 16:35hudsonbotCheckin
2010-02-19 16:35hudsonbotNote Added: 0024655
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-10 18:28anonymoussf_bug_id => 2967978
2010-03-17 15:28psarobeTag Attached: Regression
2010-04-07 11:21psarobeversion2.50MP9 => 2.50MP1

Notes
(0023701)
rafaroda   
2010-01-21 11:22   
David, can you please take action (Schedule and change Priority according to due MP) on this issue?

Thanks.
(0023762)
dalsasua   
2010-01-22 17:45   
I'm able to reproduce in main rev fa6621f85351
(0024495)
hgbot   
2010-02-17 16:01   
Repository: erp/devel/pi
Changeset: a3591dda3f7038b5b70bf60cd460fc97b4d1c80d
Author: Balamurugan Ramadoss <balamurugan.ramadoss <at> openbravo.com>
Date: Wed Feb 17 20:30:13 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a3591dda3f7038b5b70bf60cd460fc97b4d1c80d [^]

Fixes Issue 11976: Accounting Report doesn't calculate properly parents'amount

---
M src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.java
---
(0024506)
dalsasua   
2010-02-17 17:29   
Working fine!!
(0024655)
hudsonbot   
2010-02-19 16:35   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a3591dda3f70 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d22bdcc83354 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16481.obx [^]