Commit Graph
339 Commits
Author SHA1 Message Date
Rishi Solanki c51e0e7358 Improved: Add an ofbizsetup prefix to the data files names used by the ofbizsetup app.
(OFBIZ-10598)

Added prefix to files as OfbizSetup to better understand its usage.
Changes the file names and adds a missing files used in the SetupEvents xml events to setup ofbiz. 

Thanks to Jacques for reporting the issue and help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845104 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 11:24:26 +00:00
Rishi Solanki cfef87d6f1 Improved: Remove empty field values from xml data files so that it will not override existing data with empty values. Removed all empty data fields from data files.
(OFBIZ-10282)
Thanks to Arun Patidar for reporting and review.
Thanks to Suraj Khurana for providing patch for the improvement.
Thanks to Jacques for discussion and finalizing the work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830545 13f79535-47bb-0310-9956-ffa450edef68
2018-04-30 10:52:55 +00:00
Rishi Solanki b8889e7f6f Improved: Move all data in applications to the datamodel component. Removed unused files as no data in it.
(OFBIZ-9501)
Thanks Sourabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823182 13f79535-47bb-0310-9956-ffa450edef68
2018-02-05 14:39:43 +00:00
Rishi Solanki 5a49b98d3a Improved: Move all data in applications to the datamodel component. Moved demo data from accounting, commonext, content, humanres, manufacturing, marketing, order, party, product, workeffort components to datamodel component. Done changes in related data files and do entries accordingly.
(OFBIZ-9501)
Thanks to Sourabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823177 13f79535-47bb-0310-9956-ffa450edef68
2018-02-05 14:13:04 +00:00
Jacques Le Roux e454f2871d Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820980 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 13:31:38 +00:00
Jacques Le Roux b964875337 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

The ofbiz_logo.png is now in theme. This is only the framework part. 
I have also made change in theme but I need to review again and perhaps create 
a patch for others to review...
Note: testUpdatePartyGroup is OK

Then I'll also rename the logo in site to use the same name before maybe
referring to svn trunk repo to use only 1 file everywhere, same for the .ico
file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820862 13f79535-47bb-0310-9956-ffa450edef68
2018-01-11 11:05:26 +00:00
Rishi Solanki 90acab80c7 Improved: Move all data in applications to the datamodel component. Remove unused files.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817015 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 06:31:10 +00:00
Rishi Solanki be307fbade Improved: Move all data in applications to the datamodel component.
(OFBIZ-9501)
Move selected seed data for Product, Accounting and Manufacturing component. Thanks to Taher and Jacques for finalizing the data set.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816948 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 13:18:01 +00:00
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00
Jacques Le Roux 9c1ea473d2 Improved: Company Logo is missing at Print Pick Sheet PDF
(OFBIZ-7322)

Steps to regenerate:
1) Go to Facility component. Select a facility and submit (Facility for which 
   some orders are available in ready to pick status).
2) Now go to picking screen.
3) From the list of ready to pick orders try to print Pick sheet by clicking on 
   "Print Pick Sheet" button.
4) See the logo is missing in pdf.

Thanks: Pawan Verma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814569 13f79535-47bb-0310-9956-ffa450edef68
2017-11-08 11:11:30 +00:00
Deepak Dixit 2a8a37f308 Improved: Manage life span of SecurityGroupPermission entity.
Applied patch from jira issue(OFBIZ-9801) Thanks Suraj Khurana for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812383 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:47:47 +00:00
Arun Patidar 580c40eedc FIXED: Fix type entities to follow convention of hasTable.(OFBIZ-9696)
Thanks Aman Agrawal for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809396 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:22:35 +00:00
Rishi Solanki 3d29d37572 Improved: Extend SecurityGroup entity and add name/groupName field. Added groupName field to entity SecurityGroup and related changes done in the data, services and UI. (OFBIZ-9620)
Thanks Suraj Khurana for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809386 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:16:17 +00:00
Deepak Dixit cd65d7ac33 Move config data related to PaymentGateway configuration from seed-initial to demo (OFBIZ-9595)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805750 13f79535-47bb-0310-9956-ffa450edef68
2017-08-22 10:28:47 +00:00
Michael Brohl 8b3b0ecf41 Improved: Several file names do not adhere to conventions applied to same files
in other components.
(OFBIZ-9338)

Thanks Pierre Smits for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800303 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 16:39:27 +00:00
Deepak Dixit 6f39c2d18d Improved: Update Currency Uom data (OFBIZ-9413)
While adding numericCode to currency UOM, I found that we need to update some old currency UOM, as uomId has been updated.
https://www.currency-iso.org/en/home/tables/table-a1.html
https://www.currency-iso.org/en/home/amendments.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799183 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 11:47:58 +00:00
Jacques Le Roux e11e1b6275 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

Completes r1793170 

Removes duplicates data that should rather be in the PartyDemoData.xml
Moves and merges data from DemoPaymentsInvoices.xml to PartyDemoData.xml
Moves and merges data from DemoOrderTestData.xml to PartyDemoData.xml

Note that if later we want to have data located with tests data like those moved 
from DemoOrderTestData might need to be located again in order component. But
anyway then a lot of data would need to be moved. For now we rely on the 
components loading order defined in applications component-load.xml

Tests pass


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794092 13f79535-47bb-0310-9956-ffa450edef68
2017-05-05 18:30:20 +00:00
Taher A. Alkhateeb fb175b9d2e Fixed: Remove all dependencies from OFBiz framework to plugins
(OFBIZ-9322)

Further removed dependencies on demo data defined in ecommerce by modifying
the following data items:
- Move the DemoSupplier demo data from ecommerce to accounting
- Move the PartyIdentificationType of "CARD_ID" from ecommerce to party

This brings down total failing tests to only two


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793170 13f79535-47bb-0310-9956-ffa450edef68
2017-04-29 07:07:29 +00:00
Taher A. Alkhateeb 1d6c5ffad1 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

This is the first commit to removed dependencies on the ecommerce plugin data
by moving the following files to applications:
- DemoStandardCosting to applications/accounting/data/
- DemoOrderPeopleData.xml to applications/order/data/
- DemoOrderTestData.xml to applications/order/data/
- DemoProduct.xml to applications/order/data/
- DemoRentalShipping.xml to applications/order/data/
- DemoShipping.xml to applications/order/data/

Also modified some data on the below files to fix dependency order
- applications/product/data/ProductDemoData.xml
  (move facility data needed for tests from plugins)
- applications/marketing/data/sfaDemoData.xml
  (move data to DemoOrderPeopleData.xml)
- applications/party/testdef/data/PartyTestsData.xml
  (status does not exist)
- applications/workeffort/testdef/data/WorkEffortTestData.xml
  (status does not exist)
- applications/workeffort/minilang/test/WorkEffortTests.xml
  (depends on planHours which is defined in project componnent)

And finally updated the below component files with the moved data
- applications/order/ofbiz-component.xml
- applications/accounting/ofbiz-component.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792866 13f79535-47bb-0310-9956-ffa450edef68
2017-04-27 11:39:04 +00:00
Jacques Le Roux e843072bcb Improved: Minor spelling mistakes
(OFBIZ-9173)

Depreciation is mis-spelled as depreciatiion
Also, an additional space before brace would improve readability

Assigned is mis-spelled as assinged
Grammar of sentence could be updated for readability.


Thanks: David McNeill

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1778881 13f79535-47bb-0310-9956-ffa450edef68
2017-01-15 06:30:46 +00:00
Taher A. Alkhateeb 72b9013f24 Implemented: renamed the directory specialpurpose to plugins
(OFBIZ-7972)

In another step towards completing the plugin system for OFBiz, we renamed
the /specialpurpose directory to /plugins and changed all occurences of the
word "specialpurpose" to "plugins" in all files found in the system

Reference discussion: http://markmail.org/message/hpyuxkmftiyn44w2


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1778271 13f79535-47bb-0310-9956-ffa450edef68
2017-01-11 10:48:47 +00:00
Divesh Dutta 720a4b3877 Improvement: Vat tax should be recorded as separate line items in sales invoice when products have vat tax included in its price. Added new Invoice Item type for vat tax. This will enable posting taxes in liability account and actual product's price in revenue account. So this will eventually fix accounting transactions and reports.
(OFBIZ-7012)

Thanks: Thanks Ankush Upadhyay for your patch and Scott for design discussions

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768186 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:05:04 +00:00
Deepak Dixit 74d26f87d9 (OFBIZ-7969) Added missing file in my last commit related to AgreementContent feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:36:07 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +00:00
Deepak Dixit fd31d2388e (OFBIZ-7251) Applied patch from jira issue
=================================
As per the https://community.developer.authorize.net, the transactionUrl has been updated from https://certification.authorize.net/gateway/transact.dll to https://test.authorize.net/gateway/transact.dll
=================================
Thanks  Avnindra for your contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759005 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:44:05 +00:00
Mridul Pathak 762b135274 [OFBIZ-7909] Remove system generated fields from data files of Accounting component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755301 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:05:37 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.

I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
                <!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
                <entity-count entity-name="InventoryItem" count-field="iiCount">
                    <condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
                </entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
//                if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
//                    continue;
//                }

While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 12:27:20 +00:00
Nicolas Malin 96ed02fae4 Create demo PartyStatus data for existing parties for applications component, thanks to Suraj Khurana for the submission through OFBIZ-7673
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753797 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 14:22:32 +00:00
Arun Patidar 71059ef9c6 [OFBIZ-7147] Fixed invoiceType data. Added new InvoiceType 'INVOICE' and set it as parent type for SALES_INVOICE, PURCHASE_INVOICE and TEMPLATE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746459 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 13:31:00 +00:00
Deepak Dixit b3264aa9fc (OFBIZ-5740) Updated fromDate and thruDate filed type for CustomTimePeriod entity from date to date-time, and made chagnes accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743656 13f79535-47bb-0310-9956-ffa450edef68
2016-05-13 11:31:23 +00:00
Jacques Le Roux 5120c6ebbb A patch from Pierre Smits for "In DemoTaxAuthority.xml the associated countrycode for Bulgaria is wrong" https://issues.apache.org/jira/browse/OFBIZ-6844
In DemoTaxAuthority.xml the associated CountryCode for the tax office in/of Bulgaria is set to BEL, which is Belgium.
This should be corrected to BGR.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725561 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:40:04 +00:00
Divesh Dutta 91d0598a3c [OFBIZ-6753] Fixed issue:The GL account for USA_IRS is set to 224106 (SALES TAX COLLECTED USA - CA) should be 224100 (SALES TAX COLLECTED USA). Thanks Jesse Thomas for reporting the issue and Thanks Ankush for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724978 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:25:20 +00:00
Sharan Foga ca3a66c6ad OFBIZ-6733 Add setup for Service Product Invoice Lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720883 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 04:08:47 +00:00
Jacques Le Roux 627bfd42d3 A patch from Pierre Smits for "Wrong purchase invoice item type for product type IDs RAW_MATERIAL, GOOD" https://issues.apache.org/jira/browse/OFBIZ-6763
Reported by Michael Powacht
System incorrectly derives invoice item type INV_FPROD_ITEM (instead of  PINV_FPROD_ITEM, for example) in purchase invoices for purchase orders with products of type RAW_MATERIAL and GOOD. As a result, the GL account derivation is incorrect as well where a revenue GL account gets debited instead of GL "Uninvoiced Shipment Receipts". 
The incorrect accounting entry posted is:
DR Revenue (as a result of invoice item type INV_FPROD_ITEM)
CR A/P
The correct entry should be:
DR Uninvoiced Shipment Receipts (derived from PINV_FPROD_ITEM)
 CR A/P
It seems the above is caused by missing entries in table invoice_item_type_map where 
INVOICE_ITEM_MAP_KEY should contain RAW_MATERIAL and GOOD and/or PRODUCT_ORDER_ITEM.
The above symptom does not affect the Goods Receipt Transactions, which gets correctly posted as:
DR Inventory
CR Uninvoiced Shipment Receipts

jleroux: Rupert Howell gave the missing data in a comment, Pierre the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719094 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:17:02 +00:00
Jacopo Cappellato 2641d2ba5a Implemented ability to refund non-physical goods (e.g. services).
Thanks to Akash Jain for the contribution: OFBIZ-6728, OFBIZ-6729, OFBIZ-6730


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715485 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:15:16 +00:00
Deepak Dixit 3d5b387f13 (OFBIZ-6699) Removed invalid field condition from StatusValidChange data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710566 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 11:09:54 +00:00
Sharan Foga 1ad5ca3652 Applied patch from Anahita for OFBIZ-5641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660389 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:21:58 +00:00
Jacopo Cappellato 0d5bab4c73 Fixed wrong classifications (Liability<-->Asset) for the unapplied payments accounts demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657507 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:09:21 +00:00
Jacopo Cappellato 857ef96b4e Added missing association to the demo Company for the Foreign Exchange Gain/Losses account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:06:07 +00:00
Jacopo Cappellato e1fa200abb Implemented missing code to properly handle accounting transactions for foreign currency converion rates gain/losses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655979 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 10:44:44 +00:00
Jacques Le Roux 11211efb6e A patch from Bob Morley for "Data seeding to support ability to return products of type RAW_MATERIAL" https://issues.apache.org/jira/browse/OFBIZ-3669
This patch contains data seeding that supports the ability to have return items that contain products of type RAW_MATERIAL.  This allows an enterprise to return raw materials back to suppliers as well as customers returning them (if the enterprise sells raw materials to customers).  There is no code in this patch, just the data model wiring to map the raw material product types to the proper return types / accounting types.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650949 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 18:41:53 +00:00
Ashish Vijaywargiya 44bc632d5a Applied patch from jira issue - OFBIZ-1524 - Improve the way CreditCard.cardType field is managed.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Jacopo Cappellato ce58b9e0c4 Usability improvement for management of manual Gl transactions (OFBIZ-5559): thanks to Anahita Goljahani for the patch and to Pierre Smits for the tests and review.
Main changes introduced:
* new "Not available" data types that can be applied when transaction, account and resource type are not specified
* fixed some screens that were still displaying the account pk rather than the account code
* misc enhancements to the editing of manual transactions and chart of accounts
 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1589623 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 07:39:46 +00:00
Hans Bakker fcba881889 some missing files from commit 1573884
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574400 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 09:20:26 +00:00
Hans Bakker f19c64ed29 adding budget services, screens and forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 06:32:14 +00:00
Jacques Le Roux 90d37ce794 After my main external backup disk crashed, my main Eclipse workspace crashed also.
While rebuilding it, it seems I inadvertently pushed a OK button somewhere...
This reverts r1541470 and all pending stuff which should not have slipped in

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541485 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 12:01:48 +00:00
Jacques Le Roux d0bd4e8617 This was committed by error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541470 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 11:07:04 +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
Hans Bakker 577421545b corrected error in field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517430 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 06:07:09 +00:00
Erwan de Ferrieres bf6c2c77e7 As reported by Nicolas Malin on dev mailing-list, correcting a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513084 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 08:51:57 +00:00