Commit Graph
80 Commits
Author SHA1 Message Date
Jacques Le Roux 760ac284b8 Fixed: Error in accounting report inventory valuation with through date with
an empty value.
(OFBIZ-9265)

Go to https://localhost:8443/accounting/control/InventoryValuation and clear 
the Through Date, we get an error. 
The provided patch fixes this by setting the default thruDate to now.


Thanks: Francis Douet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787176 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:18:05 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 87601f6aca (OFBIZ-7219) Relocate .groovy files in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 16:54:38 +00:00
Deepak Dixit 8ace9fbcb6 (OFBIZ-6813) Apply patch from jira issue.
============================================================
relocate .ftl files in the accounting component
============================================================

Thanks Pierre Smits for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738754 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 10:17:36 +00:00
Hans Bakker b7411c09bf https://issues.apache.org/jira/browse/OFBIZ-6802 : corrective patch for xml and pdf error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731348 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:05:08 +00:00
Hans Bakker 9d39583bcf be able to set accounting company in the header, so other companent can change it too. https://issues.apache.org/jira/browse/OFBIZ-6802
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728584 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 01:45:50 +00:00
Jacopo Cappellato ecfc14a6bc ${bsh: to ${groovy: scriptlet conversions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613432 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:28:20 +00:00
Jacopo Cappellato 3874109539 A pretty important refactoring of some GL data and code that fixes a series of long standing gaps, errors and design issues affecting account balances and the closure of fiscal periods (some of them introduced by me when I initially wrote the first version of these business logics; at that time I didn't have a clear and deep enough understanding of these accounting rules sigh…).
This new version is cleaner (less code, less redundancy of information), correct and it also resolves some pretty relevant issues (including some db deadlock errors) affecting performance in instances with medium/high number of GL postings.
Here is a list of changes introduced in this commit:
* removed the postedBalance field from GlAccount and GlAccountOrganization: this was a wrong design; the field in GlAccount was not used by the applications; the field in GlAccountOrganization was used but not consistently
* added openingBalance field to GlAccountHistory: now this entity has full information about an account in a financial period after the period closed (opening and ending balance, posted debits and credits); now the endingBalance is computed correctly both for Debits and Credits accounts
* updated demo data for the data model changes mentioned above
* the business logic to compute the account balances is now implemented in a service (computeGlAccountBalanceForTimePeriod) and reused consistently
* removed several FIXME/TODO comments now that the new code addresses the related gaps and issues
* removed some old, incorrect or no more used artifacts: getGlAcctgOrgWithPostedBalanceSplit (service), getNetBalance (utily methods)
* refactored the TrialBalanceReport and GlAccountTrialBalance reports and related pdf versions: the new versions have cleaner code and show the correct balances both for debits and credits
* fixed a series of Groovy compilation issues due to missing imports


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1530273 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 13:49:19 +00:00
Jacques Le Roux 2858c8e36f A patch from Pierre Smits "Accounting: PDF rendering in same browser window as of OFBiz in stead of new windows" (https://issues.apache.org/jira/browse/OFBIZ-4138) - OFBIZ-4138
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063686 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 11:56:46 +00:00
Jacopo Cappellato 407f17ad61 Reimplemented "inventory valuation" report (that was buggy) and its csv and pdf variants: the new version is now based on the new LIFO and FIFO costing methods and it is more efficient because it is based on a single view-entity (that I have extended in order to be used in the new report).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927014 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:28:17 +00:00
Ashish Vijaywargiya 12c66e4c2b Applied patch from jira issue OFBIZ-3332 - Implement Comparative Cash Flow Statement.
Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890272 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:02:40 +00:00
Ashish Vijaywargiya adad2d41a1 Applied patch from jira issue OFBIZ-3326 - Imporve Cash Flow Statement.
Currently Cash flow statement showing many sections like asset, liability ..... that are not required. Sections contains account payable, receivable and these should no part of cash flow.
So doing improvements in Cash Flow Statement by showing only Cash_Equivalent transactions.

New implementation contains three parts -

    * Opening Cash flow
          o It will contain sum of transactions form last closing period to current from date.
    * Period Cash Flow
          o It will contain sum of transaction during date range.
    * Closing Cash flow
          o It will contain sum of amounts of opening cash flows and closing cash flow.

There is a last section of totals, which will in same format of other reports. 

Also PDF and CSV feature added in this work.

Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889598 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 12:54:18 +00:00
Jacopo Cappellato aa321ed509 Enhanced the "Transaction Totals" financial reports with information about opening and closing balances; removed the "Monthly Trial Balance" report because the same (and improved) information is now available in the "Transaction Totals" report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888489 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:14:18 +00:00
Jacopo Cappellato 36e62e223b Renamed report month selection script; misc cleanups and enhancements to financial report screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888305 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:16:42 +00:00
Jacopo Cappellato c5e27c43d5 Misc layout enhancements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887874 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 10:07:29 +00:00
Jacopo Cappellato e55995a041 Implemented pdf and csv versions of the comparative balance sheet report; misc enhancements to the other financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887870 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 09:50:36 +00:00
Anil Patel 267dc82186 Updated report to show GlAccountBalances by Cost Centers. Now following pattern established by Jacopo in other financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887810 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 00:34:14 +00:00
Jacopo Cappellato b9788f830d Minor fix for the cash flow statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887753 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 19:47:51 +00:00
Jacopo Cappellato 4b2e297c47 New and enhanced financial reports:
* new cash flow statement report from Sumit Pandit; this is a draft and a work in progress and it is only partially working at this stage
* reimplemented the comparative income statement
* misc enhancements to the other financial statements



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887752 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 19:45:59 +00:00
Jacopo Cappellato 78c461adfe Reimplemented and improved the "comparative balance sheet" report; improved layout of totals for income statement and balance sheet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887308 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 18:14:14 +00:00
Jacopo Cappellato 9307aef424 Sorted screen definitions: no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887200 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 14:06:48 +00:00
Jacopo Cappellato 2e80ccb60d Reimplemented Balance Sheet report (added subtotals, improved layout, especially the one of the PDF version, misc fixes); misc enhancements to the Income Statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887179 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 12:53:27 +00:00
Jacopo Cappellato 057b4b248c Completely reimplemented Income Statement: improved data preparation code, added more subtotals, cleaned up code, improved layout (especially of PDF version); still some work needs to be done (labels, layout).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886815 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 15:27:10 +00:00
Jacopo Cappellato a3b09b1635 Set big viewSize for financial reports that should not paginate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 11:07:31 +00:00
Jacopo Cappellato 33744fb2b3 Added default from/thru date values for income statement and cost center report; removed time period selection from cost center report because the report should not be based on this (still we have to improve the logic there).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:30:33 +00:00
Jacopo Cappellato 8705b6d883 Removed old screen and sorted menu items for financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885716 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:16:18 +00:00
Jacopo Cappellato b07c8e750c Completely reimplemented the "Transaction Totals" financial report because the existing one had a series of issues:
1) the bottom list was missing the last record
2) the grand totals were not computed
3) a bad selection strategy was a problem with big record sets
4) the code in general was messed up
5) improved the layout of the PDF export
6) meaningful default from and thru dates are pre set
7) misc enhancements



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:07:09 +00:00
Jacopo Cappellato 40757f357b Pretty big enhancements for the accounting processes and demo data:
1) completely refactored the trial balance report: now it is based on GLAccountHistory and no more on GlAccountOrganization records; the main advantage is that now it it possible to run the report per different financial time periods
2) big enhancements to the demo data: data was incomplete or wrong and this was affecting reports and the financial time period closing process
3) several fixes for the financial time period process
More fixes and enhancements will come, but now the closing process works fine and the financial reports make sense.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885256 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:32:31 +00:00
Anil Patel 52e7a3ad66 Removed extra container around labels. Apply h1 (or h2, h3) style to label instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834376 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 07:38:24 +00:00
Bruno Busco 0094fb71e1 A patch from Akash Jain "Remove extra UnPosted Totals screenlet from Transactions Total Screen" (https://issues.apache.org/jira/browse/OFBIZ-3070) - OFBIZ-3070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828085 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:25:29 +00:00
Bruno Busco f4829840f2 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826449 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 14:37:45 +00:00
Ashish Vijaywargiya 2b1371c8f6 Applied patch from jira issue OFBIZ-2997 - Inventory Valuation tab not shown selected on Inventory Valuation Screen.
Accounting >> Organization GL Settings >> Accounting >> Reports >> Inventory Valuation
Here Inventory Valuation tab should be shown selected.
https://demo.ofbiz.org/accounting/control/InventoryValuation?organizationPartyId=Company

Thanks Chirag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821734 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 10:11:05 +00:00
Anil Patel 9090ef142a Remaining reports are now including sub-division gl entries when preparing financial reports. Patch from OFBIZ-2818. Thanks Awdesh, Eva for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808047 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:11:37 +00:00
Ashish Vijaywargiya 6731a9e748 Applied patch from jira issue OFBIZ-2835 - Under Accounting - Report tab create a new screen for showing comparative income statements.
Following point is covered in this patch:
– Added option and functionality for generating CSV and PDF on same screen. 

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 14:22:29 +00:00
Ashish Vijaywargiya 963c118e8d Applied patch from jira issue OFBIZ-2835 (Under Accounting - Report tab create a new screen for showing comparative income statements.)
Following points are covered in this patch:

1) Added New tab under Accounting -> Organization Gl Setting (Company) -> Reports with name Comparative Income Statment .
2) Used groovy for preparing list of compared income/expenses statements.
3) Added list form to show compared Income/expenses statements. 

Thanks Awdesh and Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804869 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 06:19:34 +00:00
Anil Patel 164f4f082f Enhancements to Income Statement. Patch from OFBIZ-2827. Thanks Sumit for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803854 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 12:08:59 +00:00
Anil Patel 60a109302f Improvements in Cost Center report datafetching process and templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803415 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:38:21 +00:00
Anil Patel 8ab04fa7af Implement Inventory Valuation report. Patch from OFBIZ-2824. Thanks Surya, Sumit for implementation and Jacapo, Vince and Eva for review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803363 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 04:54:50 +00:00
Anil Patel 37150752c6 Pdf export of Cost Center reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802840 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 16:10:19 +00:00
Anil Patel bf8341f71f Accounting reports should display consolidated data from divisions. Patch from OFBIZ-2818. Thanks Rishi, Sumit and Awdesh for contribution. Also Thanks for Vince and Eva for help in designing tools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802495 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 06:57:02 +00:00
Anil Patel 1ed141d988 First pass of Cost Center report Gl Report. Patch from OFBIZ-2811. Thanks Brajesh for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802295 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 03:47:50 +00:00
Vikas Mayur bc749c2367 Fixed Monthly Trial Balance PDF not showing anything. Applied patch from Brajesh Patel, part of OFBIZ-2809 (https://issues.apache.org/jira/browse/OFBIZ-2809)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801949 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 11:06:09 +00:00
Anil Patel 0bf540f0c4 Code cleanup. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796224 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 09:54:20 +00:00
Anil Patel 768cb44c4a GL Account Name (to the right of the "GL Account Id" field).
Total of Current Fiscal Period (to the right of the "Total Amount" field): this is computed considering all the transactions posted to the account from the beginning of the Fiscal Period to the thruDate set by the user.

Added to the search for at the top of the screen an optional "Month" drop down field: it contains all the 12 months of the year; if a value (e.g. January) in this drop down is selected and the from/thru date are left empty then the system will compute the from/thru dates for the report considering the beginning and end of the selected month.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795910 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:47:31 +00:00
Anil Patel 1d3d85f1e0 Now form widget drop downs can handle non strings for key. Removing ftl in favor of form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795319 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 06:02:08 +00:00
Anil Patel 5a57761f99 Report for Monthly trial balance.
Accounting > Organization GL settings > Accounting > Reports > Monthly Trial Balance.
Brajesh Patel (Guru Dev), Thanks for working on it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794667 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 13:30:45 +00:00
Anil Patel 923314928b New report "GL Account Trial Balance"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792105 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 11:50:42 +00:00