[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-06-17 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Hi, what's up here :) ?

> 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 Jain
> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-04-07 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Quoting myself
{quote}
Could we not have an option in function of the reason of the refund?
{quote}
I mean either 
* the remaining total should be captured.
* the remaining total + the refunded amount should be captured.

Does it make sense in some scenarii?

> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-04-07 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Hi Pranay, 

You said 
{quote}
I think only the remaining total should be captured.
{quote}
Could we not have an option in function of the reason of the refund (could be 
an error in initial payment, etc.)?
I must say it's already a specific scenario, but we all know specific scenari 
happen in real life...

> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-04-06 Thread Pranay Pandey (JIRA)

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

Pranay Pandey commented on OFBIZ-6776:
--

Thanks for comment Jacques.

Nameet,

Can you please refer my last comment and revert back with an updated patch? Or 
if you have any additional comment, please let me know and we'll go from there.

Thanks

> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-04-06 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Hi Pranay, 

I have nothing more to say about the scenario, with Nameet you clearly 
explained the situation.
I reviewed the patch and it's OK with me. I did not test nor investigated, so I 
don't know if nothing misses but it looks OK. So w/o other opinions I'm ready 
to commit, thanks for the reminder :)


> 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: Jacques Le Roux
> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-04-06 Thread Pranay Pandey (JIRA)

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

Pranay Pandey commented on OFBIZ-6776:
--

Hi Jacques, 

Any comment on the scenario? 

> 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: Jacques Le Roux
> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-23 Thread Pranay Pandey (JIRA)

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

Pranay Pandey commented on OFBIZ-6776:
--

[~nj]

This is very interesting use case, let's discuss-

Here is the scenario you have put in description-
|Order total|$29.91|
|Partial Capture|$15.00|
|Refunded|$5.00|
|Remaining|$14.91|

Now actually the question is do we actually need to add or substract $5 to 
remaining amount or nothing to be done to it i.e. keep it as is. Based on use 
case you mentioned, it looks like now system should capture $19.91 instead of 
$14.91 i.e. add $5 to remaining amount.  

I think only the remaining total should be captured. Refunding any payment in 
middle of order fulfillment process can be a special case. Refund can only be 
done on captured or received payment and that was tacked correctly. 
IMO we need to correct the behavior where now system is actually deducting 
remaining amount, instead of keeping it as is.

WDYT? 

> 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: Jacques Le Roux
> 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 capture $15.00 and also new 
> authorized payment of $14.91 should be seen in Payment Information section.
> 3) Refund $5.00 by using 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 refunded 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-22 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


BTW Pranay,

If you think the patch is OK please go

> 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: Jacques Le Roux
> 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-22 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Hi Pranay,

I did not get a chance to review today, but I intend to do so and then decide 
about committing, or not.

> 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: Jacques Le Roux
> 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-22 Thread Pranay Pandey (JIRA)

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

Pranay Pandey commented on OFBIZ-6776:
--

Hi Jacques, 

Are you willing to commit this patch to trunk? Please confirm.

> 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: Jacques Le Roux
> 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6776:


Checking this, I need a commit in R15 to test INFRA-5

> 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: Jacques Le Roux
> 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-03-19 Thread Nameet (JIRA)

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

Nameet commented on OFBIZ-6776:
---

We can commit this task as no comments / objections are taken.

> 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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-02-20 Thread Nameet (JIRA)

[ 
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)


[jira] [Commented] (OFBIZ-6776) Amount to capture for order is in-correct after manual refund electronic transaction

2016-01-16 Thread Nameet (JIRA)

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

Nameet commented on OFBIZ-6776:
---

I researched more on this. Found that need to do some more improvement to fix 
this issue. In the current patch refunded payment (Payment of $5) is skiped to 
be associated the the sales invoice. But the payment which was refunded 
(Payment of $15.00) is applied which is causing issue in calculation if 
unapplied payment. Need to review scenario and code again. 

> 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
>
>
> 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)