Commit Graph
318 Commits
Author SHA1 Message Date
David E. Jones 8a2dd45310 A few changes to make the code more consistent that determines the address to use for tax calc, especially when there is no shipping address, ie when it is a face-to-face sale
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990006 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 03:13:27 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Scott Gray 40d54f842e Run olap SECAs asynchronously so that if they encounter any problems then the entire process that they're attached to won't get rolled back.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965332 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 00:13:06 +00:00
Erwan de Ferrieres abfdde6bfb OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id (https://issues.apache.org/jira/browse/OFBIZ-3765)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Jacques Le Roux 08bb61d661 Fix a bug introduced at r943788
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944201 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 10:54:34 +00:00
Hans Bakker 6f77879bc9 if an invoice is approved or a payment is set to sent or received this service will try to find a matching payment/invoice and when found create the payment application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943417 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 09:20:44 +00:00
Hans Bakker 9a39192005 Create a payment with the status 'not-paid' when a purchase order is approved setting the payment date according agreements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941132 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 01:43:45 +00:00
Vikas Mayur 4823a5d9ed Fixed the description about input attribute on createInvoiceFromReturn service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940853 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 13:41:23 +00:00
Andrew Zeneski faf214e119 acctgTransId should be optional (OUT) -- as it is with the other services -- for when no accounts are configured
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939433 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:25:06 +00:00
Vikas Mayur 2e460a2be6 Added a new base permission in accounting component. Used the new permission service for permission checking in the lookup screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930243 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:22:44 +00:00
Vikas Mayur d20b0eb9b7 Moved the accounting permission services to a separate file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930233 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:52:06 +00:00
Jacopo Cappellato 536c1b8d0c Completed implementation for semi automatic creation of accounting transactions for fixed asset depreciations from the fixed asset detail screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915261 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 09:51:23 +00:00
Jacopo Cappellato e1c5750551 Initial support for semi automatic accounting transactions for fixed asset depreciations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912661 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 17:09:33 +00:00
Jacopo Cappellato d9283fecf6 Modified depreciation services to compute and return the next depreciation amount based on actual history of depreciations. Added information in the "depreciation" screen of fixed asset about depreciation parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 16:56:26 +00:00
Jacopo Cappellato 8c4dd5cb6e First step in the implementation of automatic transactions for fixed assets:
* 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
2010-01-19 11:24:34 +00:00
Jacopo Cappellato 6d215a87db Improved error handling of fixed asset depreciation algorithm in the "Depreciation" tab.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900329 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 10:24:07 +00:00
Jacopo Cappellato 2274fd1504 When accounting transactions for depreciation of a fixed asset are posted to the GL, the total depreciation amount is updated in the corresponding FixedAsset entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899603 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 11:52:24 +00:00
Jacopo Cappellato 04548bee96 Refactored fixed asset depreciation screen and improved data preparation service; replaced (poorly implemented) ftl template with a simple form definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899142 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:14:46 +00:00
Jacopo Cappellato bb17b94670 First step in the implementation of the screens and services to setup depreciation formulae for fixed assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898869 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 18:22:14 +00:00
Jacopo Cappellato cbe1eb6964 Removed old and unused services for data preparation of the balance sheet.
According to the discussion in the mailing list, moved the depreciation classes from Debit to Credit group; also modified data preparation script for balance sheet and financial time period closing.
Thanks to Adrian Crum and Mike Bates for the valuable information provided.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898710 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 10:44:07 +00:00
Jacopo Cappellato 150f2a54f9 Removed a bunch of duplicated simple methods (the same ones are in InvoiceServices.xml); this code should have never been committed in this way, and the committer who did it should review this commit and do the needed to minimize the risk for this bade commits to happen again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892446 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 07:50:15 +00:00
Vikas Mayur 6a135c5dbf Added CRUD services for GeoPoint and FixedAssetGeoPoint entity. Additional changes are done to avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891248 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 14:27:50 +00:00
Jacopo Cappellato 13526fffa7 Misc cleanups:
* modified order of seca definitions
* improved and cleaned up comments
* unified two secas with the same conditions into one

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891171 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 10:04:32 +00:00
Hans Bakker 60480280a2 added get exchange rate service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891159 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 08:46:06 +00:00
Vikas Mayur 6330cc21ee Fixed input parameter type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890782 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 12:56:49 +00:00
Ashish Vijaywargiya ae9d9ff482 Applied patch from jira issue OFBIZ-3310 - Cancel Pyament Group issue - Can't cancel reconciled payment batch and issued payment check.
Steps to reproduce -
Issue : -1
1.Create few payments in AR .
2.Create a batch payment for newly created payments from screen https://localhost:28443/ar/control/batchPayments (where finAccountId=SC_CHECKING).
3.Go to Financial Account screen and click on transaction tab https://localhost:28443/accounting/control/FindFinAccountTrans?finAccountId=SC_CHECKING.
4.Select GlReconciliationId as "Not Assigned" and click on serach button.
5.Select newly created FinAccountTrans from checkbox.Then select GlReconciliationName from selectbox and click on button "Assign TO reconciliation".
6.This process will associate fin account transaction with reconciliation.
7.Now click on Reconciliation tab and select the FinAccountTransaction.
8.Reconcile the transaction by clicking on Reconcile button.
9.Now the status of reconciliation will be "Reconciled".
10.Status of transaction will be "Approved".
11.Now go to Payment Group or Deposit slip tab, the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel reconciled deposit slip.
      Similiar changes will reflect on following screens : -
      1) https://localhost:8443/ar/control/FindArPaymentGroups
      2) https://localhost:8443/accounting/control/FindPaymentGroup
      3) https://localhost:28443/accounting/control/FindDepositSlips?finAccountId=SC_CHECKING&organizationPartyId=Company

Issue : -2
1) Now go to PurchaseInvoices screen https://localhost:28443/ap/control/FindPurchaseInvoices.
2) Click on search button and select Invoices using checkbox.
3) Select "Issue Check" from select box.
4)Click on Run button.
5)Performing this action fin account transaction will be created in Apporved status .
5) Now go to to https://localhost:28443/ap/control/FindApPaymentGroups screen the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel issued check .

Similiar changes will reflect on following screens : -
1) https://localhost:28443/ap/control/FindApPaymentGroups
2) https://localhost:8443/accounting/control/FindPaymentGroup

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887520 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:04:53 +00:00
Ashish Vijaywargiya 80d193a076 Applied patch from jira issue OFBIZ-3269 - Reconciliation Screen Enhancements.
In Financial Account At Reconciliation Screen (https://demo.ofbiz.org/accounting/control/EditFinAccountReconciliations?finAccountId=ABN_CHECKING), rename field name "Reconciled Date" by "Reconciliation Date".
A write a scheduled service(autoFinAccountReconciliation) which will call once in a day and get all of the reconciliation records whose reconciliation date is set in between current date.

Thanks Sumit & Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885409 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 13:03:37 +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
Ashish Vijaywargiya 1a80ba8a09 Applied patch from jira OFBIZ-3241 - Cancel Payment Batch - Need to correct error message.
At https://demo.ofbiz.org/ar/control/FindArPaymentGroups
When try to cancel a payment batch which is associated to active reconciliation. Then it is showing success message that "Action is performed successfully", instead of this, it must show error message which inform user that Payment batch associated to Reconciliation can not be cancelled. It is needed to show right message.

Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883628 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 09:10:21 +00:00
Ashish Vijaywargiya 2df5f76d26 Applied patch from jira issue OFBIZ-3236 - Add new field - Closing balance to Reconciliation Screen.
At https://localhost:8443/accounting/control/ViewGlReconciliationWithTransaction?glReconciliationId=9000&finAccountId=SC_CHECKING

    * Add a new field to represent Closing balance of Reconciliation. This will sum of Opening Balance(default 0) + Reconciled Balance (default 0).
    * Also rearrange rows showing information. It is as follows -
          o OLD :
            Gl Reconciliation Name
            Reconciled Balance
            Status
            Reconciled Date
            Opening Balance
          o NEW :
            Gl Reconciliation Name
            Status
            Reconciled Date
            Opening Balance
            Reconciled Balance
            Closing Balance

Thanks Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 06:23:22 +00:00
Bilgin Ismet Ibryam 9190cdeb89 Renamed AgreementWorkEffortAppl entity to AgreementWorkEffortApplic in order to change relation types so that assigning WorkEfforts to Agreements is possible w/o specifying an agreementItemSeqId.
Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:17:38 +00:00
Jacques Le Roux 65601eeccd A patch from Abdullah Shaikh "SagePay payment gateway integrated" (https://issues.apache.org/jira/browse/OFBIZ-3180) - OFBIZ-3180
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
2009-11-19 11:01:29 +00:00
Scott Gray 7b7b1047d5 Might as well add what I learned to the service description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836007 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 21:44:53 +00:00
Hans Bakker da9bc51bf9 allow 'safe' html in invoice description and message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835204 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 02:57:05 +00:00
Anil Patel 74d9d9bf56 Adding mass payment status change to find screen. Also added few more details in payments list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833636 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 06:27:52 +00:00
Anil Patel ebb7309ba1 Added bulk action for updating invoice status. Also cleaned up javascript code to take advantage of prototype library. Still remains to move javascript in separate file and also css trick to show button disabled when it is.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831648 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 07:22:50 +00:00
Anil Patel 8ca9954e5f When creating AP payment use PaymentMethod of organizationParty. FinAccount Transactions are created by fetching finAccountId from PaymentMethod.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831638 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 04:28:33 +00:00
Anil Patel 6589d8a4e2 Updated Check Run process to use PaymentMethod of paying organizationParty instead of FinAccount. finAccountId is now fetched from PaymentMethod and finAccount Transaction is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831637 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 04:08:22 +00:00
Ashish Vijaywargiya 7152b71548 Applied patch from jira issue OFBIZ-2783 - Cost Centers: implement new accounting screen to associate gl accounts to "cost centers"
Thanks Brajesh, Rishi, Anil.
Special thanks to Jacopo for providing wonderful notes for the implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816517 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:09:02 +00:00
Jacopo Cappellato 7fb8790c56 Added missing out parameter that was causing a service validation error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815715 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:45:01 +00:00
Jacques Le Roux 9850bbd560 A patch from Chirag Manocha "Out Parameter showing under In Parameter head for createAcctgTransAndEntries service reference." (https://issues.apache.org/jira/browse/OFBIZ-2917) - OFBIZ-2917
In service createAcctgTransAndEntries, there is no need to IN acctgTranId. It is required as OUT parameter. So behavior should be overridden instead of defining acctgTransId again. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 14:51:19 +00:00
Anil Patel cf6e700773 User can add openinig balance. Patch from OFBIZ-2918. Thanks Ratnesh for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812946 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:23:32 +00:00
Anil Patel e1b147e9eb Update to average cost calculation process. Patch from OFBIZ-2914. Thanks Ratnesh for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812744 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:28:33 +00:00
Anil Patel ae7b11c3ee Now use can see all account trans related to bank reconciliation. Patch from OFBIZ-2893.
Thanks Ratnesh for implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812742 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:21:58 +00:00
Ashish Vijaywargiya b2dd527c06 Moving service definition and implementation to appropriate place - part of jira issue OFBIZ-2887.
Thanks Parimal for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810078 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 14:45:50 +00:00
Ashish Vijaywargiya 7a28b8b75a Applied patch from jira issue OFBIZ-2877 - Add a new field nanmed - "statusId" to "GlReconciliation" entity.
Thanks Parimal & Sumit for the Contribution.

Please don't forget to update the info about migration on: http://docs.ofbiz.org/x/XxQ

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 11:51:29 +00:00
Jacopo Cappellato 454a39cc10 Moved eca for gl transactions for payment applications to the right xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:09:53 +00:00
Ashish Vijaywargiya c96c8dee24 Applied patch from jira issue: OFBIZ-2839 (Add ability to Cancel a Reconciliation).
Thanks Parimal & Sumit for the contribution. 
Thanks Eva and Vince for requirements definition.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807134 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 09:00:47 +00:00
Ashish Vijaywargiya 092e8d40c8 First pass on Orbital Gateway: http://download.chasepaymentech.com/
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
2009-08-21 17:00:55 +00:00
Anil Patel d086571d4a If reconciliation is started then user cannot add new financial account transaction. Adding a service to check if a GlReconcilation is ready for completion (isGlReconciliationReconciled).
Manual FinancialAccount Transaction now default to CREATED status.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806588 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:08:50 +00:00