[ 
https://issues.apache.org/jira/browse/OFBIZ-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103176#comment-15103176
 ] 

Rishi Solanki commented on OFBIZ-6558:
--------------------------------------

Follows the steps shared in the ticket description and able to replicate the 
issue. Fix will involve setting the cancelled payment amount applied to zero as 
well outstanding amount. As mentioned other area to cover in the fix will 
involve, cancelled status payment should not be shown in the payment lookup for 
apply.
Before doing any changes we would prefer to discuss it with more details and 
then go for fixes. Please feel free to take this one if anyone from community 
wants to, otherwise I'll pick this ticket as soon as I get chance.

Thanks to Ankit Joshi for verifying the issue and discussion.

> Cancelled Payment Shows Amount Outstanding to be Applied
> --------------------------------------------------------
>
>                 Key: OFBIZ-6558
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6558
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: 13.07.02
>            Reporter: Sharan Foga
>            Assignee: Mridul Pathak
>            Priority: Minor
>
> When a payment is cancelled the Amount Outstanding (i.e. Open Amount that can 
> applied) is not set to zero. This means that cancelled payments still show up 
> in the list of payments that can be selected to be applied to an invoice. If 
> you try to apply a cancelled payment there is an error message but if the 
> amount outstanding is set to zero then these payments won't appear in the 
> list available for selection to be applied.
> 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 $10
> 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 $10. 
> The Outstanding Amount is the amount that can be applied to an invoice)
> 4. Select the newly created payment
> 5. Change the Status to Cancelled
> 6. Go back and view the payment in the payments list and both the amount and 
> the Amount Outstanding are still showing as $10.  (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 $10 is still open to be applied, which is wrong.  (If you cancel a 
> payment none of it should be available to be applied).
> The cancelled 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. However if you do try to apply it you get an error 
> message saying that it cant be applied because it is cancelled. 
> I think that setting the outstanding amount to zero when a payment is  
> cancelled will resolve this issue.
> Impact is that the list of payments will show incorrect information about 
> cancelled payments.
> Thanks
> Sharan



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

Reply via email to