Commit Graph
42 Commits
Author SHA1 Message Date
Hans Bakker 7ba19d4b9f make status an optional field in the creation of a payment and provide a default value of 'not paid'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534478 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 03:58:16 +00:00
Hans Bakker c98ffafa00 add entity and services to be able to add content to payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525495 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 03:13:04 +00:00
Hans Bakker a47a06a4b1 when a sales order is completed and no payment is created, this will create a payment in the 'not paid' status which can be disabled in the accounting properties file, when it is a order in foreign currency it will use the same exchange rate as when will be used for the related invoice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494464 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 05:53:20 +00:00
Hans Bakker badd567bf3 remove the possibility to update payment applications: is too complicated and can cause posting problems, only allow add and delete, this is at the payment side
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1186102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 11:19:21 +00:00
Anil Patel 5cb27bb0e6 Bug fix in GL posting of customer refund payment. Its disbursement but not a payment to vendor so it should be treated differently.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 18:14:20 +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
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 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
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 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
Anil Patel 07b37baf87 Adding service to check valid payment before create a new batch for payments. Patch from OFBIZ-2774. Thanks Awdesh for patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803572 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:56:29 +00:00
Anil Patel d65507493d User can not cancel batch of payment if it is associated in Reconcilation process. Patch from OFBIZ-2825. Thanks Parimal contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803362 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 04:32:37 +00:00
Anil Patel e6493f1d64 Now deposit slip can be printed from finAccountTransaction. Thanks Chirag, Rishi OFBIZ-2727.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799547 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 08:51:17 +00:00
Anil Patel 0ec732e3bb On cancelling a check run, finaccount balance is updated accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798513 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:03:34 +00:00
Anil Patel 62e2dfc109 Show currency with running total.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797731 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 09:37:39 +00:00
Anil Patel c02d992ae9 Updates to create finaccount transaction when a payment is associated with finaccount. Thanks Sumit for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793971 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 16:48:42 +00:00
Ashish Vijaywargiya 21ce1b770c Applied patch from jira issue OFBIZ-2718 - Cancel Check Run payments.
This patch includes:
-- Cancel all the payments and associated payment applicability with invoices.
-- Setting thruDate for associated paymentGroupMembers.

Thanks Chirag, Sumit & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793473 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 07:07:37 +00:00
Ashish Vijaywargiya a478063080 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment.
Now createPaymentGroupAndMember is available to create Payment Group & Member records.
So used the same.

Thanks Rishi for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792953 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 13:48:34 +00:00
Ashish Vijaywargiya d33653792b Applied patch from jira issue OFBIZ-2706 - Create a screen under AP -> Invoice, which will search for a PURCHASE_INVOICE between dates.
Following thing is covered in this patch:
-- Patch for issue checks functionality for AP Invoices.

Thanks Chirag, Sumit, Rishi & Anil for the contribution.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792888 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:28:21 +00:00
Ashish Vijaywargiya 012b5ab921 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following thing is covered in this patch:
-- functionality to cancel payment group and expire association with payment. 
Thanks Awdesh & Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:24:13 +00:00
Ashish Vijaywargiya 7c30434958 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following things are covered in this section:
– Added running total functionality .
– Improvement in existing code and service logic 

Thanks Awdesh, Rishi, Sumit & Anil for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791883 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:57:44 +00:00
Ashish Vijaywargiya 781cbd77d9 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following thing is covered in this patch:
– Written a service to create a batch for selected payments from list of payment. 

Thanks Awdesh & Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791510 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 15:16:40 +00:00
Ashish Vijaywargiya 7cbdbfcc68 Applied patch from jira issue OFBIZ-2685 (Allow user, ability to void a Payment.)
Thanks Surya & Sumit for your contribution.
Special thanks to Jacopo for notes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790606 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 14:49:45 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 8f0c9f4c40 A 1s set of changes in accounting
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz 
More to follow... (component by component)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:19:14 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacopo Cappellato d3716b8353 Added missing input parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669845 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 10:12:42 +00:00
Jacopo Cappellato ae97a7ff02 Implemented very simple screens to search for invoices by due date; they will be enhanced soon.
OFBIZ-1530

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604964 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:48:45 +00:00
Jacopo Cappellato d28cfcb26a First step in the implementation of past due date invoices: created a service that computes the due date(s) and outstanding amount(s) based on the Invoice terms; added initial support for multiple payment terms per invoice (e.g. 'pay after 30 days the 50% of the invoice, pay after 60 days the 40%, pay after 90 the 10%').
Part of issue OFBIZ-1530
Modified the getDayEnd util method to be usable in Minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 16:40:35 +00:00
Adrian Crum 8453ecffc0 Accounting Invoice permissions and UI work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600357 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 19:09:17 +00:00
Jacopo Cappellato 39e0e0b363 Fix for my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574964 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 14:12:40 +00:00
Jacopo Cappellato 86049f4298 Implemented service to create a payment and fully apply it in one step.
Added ability to the billing account payment screen to quickly create and associated a payment to the billing account.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574962 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 14:11:50 +00:00
Jacopo Cappellato 9cb0f5a85b Moved paymentapplication service definitions from services_invoice.xml to services_payment.xml.
No functional changes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540867 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 07:16:23 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Si Chen 9b70e009a0 Allow the createPaymentApplication service to accept overrideGlAccountId as an optional parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504637 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 18:27:50 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Si Chen 2ac4a45a30 OFBIZ-132: Make paymentMethodTypeId optional and get it from paymentMethod. If neither is supplied, then return an error. Thanks to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428529 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 21:14:58 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422398 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:57:05 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00