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
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
When a entity have fields createDate, lastModifiedDate, createByUserLogin and updateByUserLogin, the entity-auto engine set them.
Also makes all entities that have one of fields [create|lastModified][Date|ByUserLogin] to be consistent and have four fields
Impacted entityies:
[Quote|Order|Return]Adjustment
OrderPaymentPreference
AcctgTrans
GlReconciliation
ValueLinkKey
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407578 13f79535-47bb-0310-9956-ffa450edef68
Due to missed col-name attributes for the deprecated field names (old* fields) and a typo in the minilang code in the original patch (OFBIZ-3765), the backwards compatibility with the old enum IDs broke.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070621 13f79535-47bb-0310-9956-ffa450edef68
The request API was almost the same as the standard AIM; however the response is very different. Most of the changes here are around response processing and abstracting the position of the fields out of the main response class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1033717 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2) added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
* new entity to setup account mappings for all assets, by asset type or for a specific asset
* screen to setup mappings for a specific asset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900727 13f79535-47bb-0310-9956-ffa450edef68
Added two fields to the acctg trans entry totals view entity, that will be used to compute balances in the upcoming improved script for the income statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886138 13f79535-47bb-0310-9956-ffa450edef68
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
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
SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.
I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
When making Disbursements using PaymentMethods owned by InternalOrganization, we can create FinAccountTransaction. In reconciliation process user can then add FinAccountTransactions to reconciliation.
In next step we need to improve service creating disbursements to fetch finAccountId from PaymentMethod and put in context to enable finAccountTransaction eca services to create finaccounttransactions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830048 13f79535-47bb-0310-9956-ffa450edef68
Following things are covered in this implementation:
1) Services written for ccAuth, ccAuthCapture, ccAuthRelease, ccAuthRefund, ccCapture.
2) Instead of property files we have kept commonly used values in the entity - for this created new entity - PaymentGatewayOrbital.
3) The initialisation of "Configurator"(which is a class that is being used for the initialisation of configuration settings - like user credentials and many more things). For now configurator takes only file by name "linehandler.properties". So I have created new files by this name.
4) Also added demo data in ecommerce files so it can be used if someone want to use it for gateway purpose.
5) For now we have excluded the compilation of this gateway - I will provide an end user document for this soon so anybody would be able to configure it easily.
This is collaborative effort from me and following guys.
Scott Gray: Discussed so many things with me in the b/w this implementation. There were some security settings issue with jdk installation - Scott helped me in that area.
Anil Patel & Tim Ruppert: Initial implementation plan discussed with Anil and there were so many things that I had discussed with Anil & Tim in b/w. Thanks Tim for encouraging us to put this gateway on OFBiz trunk so it could be used by larger audience.
Mridul & Sumit: I have asked these guys to see the results / outcome of implementation and asked them to provide their comments/ thoughts.
Thanks a lot guys for your help - it was simply awesome.
Suggestions and comments are most welcome - I will wait for them.
Thank you!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806643 13f79535-47bb-0310-9956-ffa450edef68