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

Nameet commented on OFBIZ-6776:
-------------------------------

Done following changes in latest patch:
1) Previously during the time of payment application on invoice, order 
preference which are cancelled were excluded. Now excluded the payment 
preference which are marked refunded.   
2) Returns total from a list of Payment passed but if any payment is of Type 
"DISBURSEMENT" then instead of adding we should subtract it.
3) While calculating open amount handled the case if the order preference is 
"PAYMENT_REFUNDED".


> Amount to capture for order is in-correct after manual refund electronic 
> transaction
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6776
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6776
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>            Reporter: Nameet
>            Assignee: Pranay Pandey
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-6776.patch, OFBIZ-6776.patch
>
>
> Steps to regenerate-
> 1) Place a sales order of Rainbow Gizmo. Order Total was of $29.91. Order 
> will be in approved status and in *Payment Information* section you will see 
> $29.91 as authorized and available to capture. 
> 2) Capture $15.00 by using the capture button available in *Payment 
> Information* block. System should successfully captured $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00, for that use manual electronic transfer UI in accounting. 
> System successfully does the refund.
> 4) Click quick ship entire order from order screen. As per payment 
> requirement, now system should proceed to complete the capture process for 
> amount $19.91($29.91 - $15(Captured) + $5(Refunded)) but it captures only 
> $9.91 and not showing any remaining amount to capture on order. Also the 
> order invoice due shows $0.00.
> Possible reason of the issue is that manual refund payment amount is being 
> considered by the system as received payment and hence amount to capture on 
> order is calculated wrong.



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

Reply via email to