[ https://issues.apache.org/jira/browse/OFBIZ-2818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anil K Patel reassigned OFBIZ-2818: ----------------------------------- Assignee: Anil K Patel > Accounting reports should display consolidated data from divisions > ------------------------------------------------------------------ > > Key: OFBIZ-2818 > URL: https://issues.apache.org/jira/browse/OFBIZ-2818 > Project: OFBiz > Issue Type: Improvement > Reporter: Sumit Pandit > Assignee: Anil K Patel > Attachments: OFBiz-2818.patch > > > Financial data rollup: All financial reports in Ofbiz should respect the > internal organization hierarchy. All children financial data should be rolled > up to the parent internal organization as defined in the PartyRelationship > entity (Rollup_Group). > http://www.nabble.com/Multi-Organization-Rollup-td24456225.html#a24597919 > Some implementation notes/suggestions, for each of the data preparation > scripts for accounting reports: > a) given the parent organization id (organizationPartyId), retrieve the list > of divisions under it > b) get accounting data for the report for the parent organization id (as it > is currently implemented) and put them in a map > c) if there are divisions iterate thru them and for each division perform > step b and then put the data in the same map (if the key is alrready there > then the values are summed up) > d) display data from map; if there are divisions display also, at the top of > the screen a message saying "Consolidated data for group ABC from divisions > A, B, C, D..." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.