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
JLR: Quoting Anne on user ML: There are still some files that refer to the deprecated
* invoiceSequenceEnumId,
* quoteSequenceEnumId
* orderSequenceEnumId fields of PartyAcctgPreference.
Files I know of are:
applications/accounting/servicedef/services_admin.xml
applications/accounting/widget/GlSetupForms.xml
applications/commonext/script/org/ofbiz/setup/SetupEvents.xml
Nicolas: quick corrections to use old attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065014 13f79535-47bb-0310-9956-ffa450edef68
- set default logo from accounting company or when not present the ofbiz logo and allow the browser to set trhe size from the logo image.
1.) TrialBalance.rptdesign
2.) InvoiceAcctgTransEntry.rptdesign
3.) AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign
4.) IncomeStatement.rptdesign
5.) PaymentAcctgTransEntry.rptdesign
svn commit -m
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1028621 13f79535-47bb-0310-9956-ffa450edef68
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
Fix title of buttons to Find, for all the find screens to maintain consistency.
Thanks Chandan for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
This is a good example of the great flexibility of widgets and the new macro renderer (no code was needed to implement the CSV renderer).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802400 13f79535-47bb-0310-9956-ffa450edef68
Now the default format will be sorted by accountCode: ${accountCode}-${accountName} [${glAccountId}] - As per David's suggestion on dev list.
Thanks Jacopo & David for your valuable input.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789249 13f79535-47bb-0310-9956-ffa450edef68
In Manual Accounting Transaction entries its easy to remember words instead of numbers.
So now anyone doing transaction entries can find General Ledger account by alphabets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788738 13f79535-47bb-0310-9956-ffa450edef68
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
We are near the end...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759684 13f79535-47bb-0310-9956-ffa450edef68
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
This one is huge, with some changes by hand, conversion from tabs to 4 spaces and some trailing spaces (I have activated it AnyEdit plugin following the changes I made in http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions but I wonder if I should not reverse all that - I mean my plugin setting and in wiki -, it's a nightmare!)
I did my best on this one, but I'm not sure some typos did not slip in. Anyway, alea jacta est
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759666 13f79535-47bb-0310-9956-ffa450edef68