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

Marco Risaliti updated OFBIZ-494:
---------------------------------

    Component/s:     (was: order)
                 INCORPORATING ISSUE

> Support for prices in multiple decimal places
> ---------------------------------------------
>
>                 Key: OFBIZ-494
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-494
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: INCORPORATING ISSUE
>            Reporter: Si Chen
>
> Support for order and invoicing with prices in multiple (3, 4, + decimal 
> places).
> At a basic level it can be supported just by modifying OrderItem.unitPrice 
> and other ._Price fields, ReturnItem.unitPrice, and InvoiceItem.amount to 
> currency-precise types and then changing currency-precise to NUMERIC(18,4) or 
> whatever you need.
> David however also suggested that we then create an Order and Invoice line 
> (and by extension probably ReturnItem line) total amount in currency-amount 
> so that the rounding behavior is predictable.  When order/invoice/returns are 
> created those recordes should be updated accordingly.
> Also there is the issue of OrderAdjustment.amount being currency-precise and 
> InvoiceItem.amount being currency-amount leading to possible 0.01 rounding 
> errors in some cases.

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

Reply via email to