You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sharan Foga (JIRA)" <ji...@apache.org> on 2015/07/16 14:09:04 UTC

[jira] [Created] (OFBIZ-6559) Voided Payments Can Still be Applied to Invoices

Sharan Foga created OFBIZ-6559:
----------------------------------

             Summary: Voided Payments Can Still be Applied to Invoices
                 Key: OFBIZ-6559
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6559
             Project: OFBiz
          Issue Type: Bug
            Reporter: Sharan Foga
            Priority: Minor


When a payment is voided the Amount Outstanding (i.e. Open Amount that can applied) is not set to zero. This means that voided payments still show up in the list of payments that can be selected to be applied to an invoice. 

The same error that is reported in https://issues.apache.org/jira/browse/OFBIZ-6558 for Cancelled Payments also occurs for Voided Payments but where a cancelled payment cannot be applied to an invoice, a voided payment can be applied and this is wrong.

This bug applies to both incoming and outgoing payments.

How to re-create using an Incoming Payment

1. Go to Accounting / Payments
2. Create a new Incoming Payment to DemoCustomer for $15
3. Go back and view the list the newly created payment in the list of payments (Note that both the Amount and the Outstanding Amount show as $15. The Outstanding Amount is the amount that can be applied to an invoice)
4. Select the newly created payment
5. Change the Status to Void
6. Go back and view the payment in the payments list and both the amount and the Amount Outstanding are still showing as $15. (The amount Outstanding here should be zero)
7. If you then select the payment and view the details. In the payment Applied area it shows that $0.00 has been applied, which is fine but then it shows that $15 is still open to be applied, which is wrong. (If you void a payment none of it should be available to be applied).

The voided  payment also appears in the payment lookup for selecting payments to apply because the amount outstanding is not zero. This means you can select it to apply it to an invoice which is wrong because you should not be allowed to apply a voided payment.

As with https://issues.apache.org/jira/browse/OFBIZ-6558 I think that setting the outstanding amount to zero when a payment is voided will resolve the first part of this issue.  As an extra safeguard I think that an error message (similar to what is in place for stopping cancelled payments being applied) needs to be added to stop voided payments being applied to invoices.

Impact is that the list of payments will show incorrect information about voided payments and that voided payments can be applied to invoices.

Thanks
Sharan





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)