[jira] [Created] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Nicolas Malin (Jira)
Carlos Guzman created OFBIZ-5017:
------------------------------------

             Summary: Quick Refund Entire Order create a Payment without the Adjustment Item amount
                 Key: OFBIZ-5017
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5017
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: SVN trunk
            Reporter: Carlos Guzman


When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not the completed, because the adjustment amount is not included.
For example this order:
1 product $700
S/H Adjustment: $20
Order total: $720

when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Guzman updated OFBIZ-5017:
---------------------------------

    Description:
When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
For example this order:
1 product $700
S/H Adjustment: $20
Order total: $720

when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.



  was:
When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not the completed, because the adjustment amount is not included.
For example this order:
1 product $700
S/H Adjustment: $20
Order total: $720

when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.



   

> Quick Refund Entire Order create a Payment without the Adjustment Item amount
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5017
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5017
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Carlos Guzman
>
> When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
> For example this order:
> 1 product $700
> S/H Adjustment: $20
> Order total: $720
> when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

paramjit.saini
Hi,

Need to add given below code under line no. 295 in returnItems.ftl

<#assign returnAdjustmentTotal = returnAdjustment.amount?if_exists />
<#assign returnTotal = returnTotal + returnAdjustmentTotal />
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

cguZZman
hello paramjit.saini,
I try what you suggested, but it did not work.
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-5017:
----------------------------------------

Hi Carlos,

Did you try this advice from on dev ML?

{quote}
Need to add given below code under line no. 295 in returnItems.ftl

<#assign returnAdjustmentTotal = returnAdjustment.amount?if_exists />
<#assign returnTotal = returnTotal + returnAdjustmentTotal />
{quote}
               

> Quick Refund Entire Order create a Payment without the Adjustment Item amount
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5017
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5017
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Carlos Guzman
>
> When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
> For example this order:
> 1 product $700
> S/H Adjustment: $20
> Order total: $720
> when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux edited comment on OFBIZ-5017 at 9/3/12 1:13 AM:
----------------------------------------------------------------

Note: Carlos tried this advice from on dev ML but it did not work

{quote}
Need to add given below code under line no. 295 in returnItems.ftl

<#assign returnAdjustmentTotal = returnAdjustment.amount?if_exists />
<#assign returnTotal = returnTotal + returnAdjustmentTotal />
{quote}
               
      was (Author: jacques.le.roux):
    Hi Carlos,

Did you try this advice from on dev ML?

{quote}
Need to add given below code under line no. 295 in returnItems.ftl

<#assign returnAdjustmentTotal = returnAdjustment.amount?if_exists />
<#assign returnTotal = returnTotal + returnAdjustmentTotal />
{quote}
                 

> Quick Refund Entire Order create a Payment without the Adjustment Item amount
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5017
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5017
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Carlos Guzman
>
> When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
> For example this order:
> 1 product $700
> S/H Adjustment: $20
> Order total: $720
> when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira