[jira] Commented: (OFBIZ-207) Invoice creation for order with zero value except for shipping.

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

[jira] Commented: (OFBIZ-207) Invoice creation for order with zero value except for shipping.

Nicolas Malin (Jira)

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

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

A simple solution in case of pro rate for shipping accross invoices when at least one order have a zero value (but a shipping value) we could divide shipping costs between each order. Else simply charge for shipping on respective  invoices

Look for prorateShipping in InvoiceServices.java




>  Invoice creation for order with zero value except for shipping.
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-207
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-207
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> This is a duplicate of http://jira.undersunconsulting.com/browse/OFBIZ-784
> Excerpt from http://jira.undersunconsulting.com/browse/OFBIZ-777 (now closed) :
> Si___________________________________________________________________________________________
> The problem with this order is that it has zero value except for $6.40 of shipping. As such, the invoices created had zero value. (How do you pro-rate shipping in this case? Not sure....)
> [...]
> The interesting question is that of the boundary condition when the invoice actually had no value--how do you allocate shipping across invoices? I did not solve that.
> Jacques___________________________________________________________________________________________
> For me the customer benefited of a promotion giving him/her a free product.
> But this does not mean that all is free : he/her have to paid for the shipping.
> This must be on the invoice.
> Si___________________________________________________________________________________________
> That sounds reasonable enough, but the current code does not do that. We should probably make a fix for it somewhere.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.