Files
ofbiz-framework/applications/order
Jacques Le Roux 00a3ff4b6f Improved: Greater precise value overriding price in order
(OFBIZ-9145)

I encounter a problem when try to re-enter orders originally created in another 
system (not ofbiz). And I found some cases when it's not possible to reproduce 
it exactly due to some promo rules triggered in this another system. 
But I must. Difference .01 is important.

Solution would be if I can change the unit price in an existing order using 
value with 3 digits after decimal point. I found that if I add new order item 
and check "Override" price I am able to enter more precise values.

But if I update unit price in an existing order item I am not, updateOrderItems 
rounds it to 2 digits. Exactly the same intention but works differently.

This makes me think we can remove rounding in second case. 
I believe if user want to change the unit price he knows why.

jleroux: despite slightly changing the behaviour of updateOrderItems, I see no
crucial reasons why we would not do that. The consistency aspect is here 
important.


Thanks: Oleg Andreyev

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1797066 13f79535-47bb-0310-9956-ffa450edef68
2017-05-31 16:09:11 +00:00
..

order component

This OFBiz component offers a fully utilised component for request, quote, order and requirements management.

more information

For more information about this component visit the product page in the OFBiz WIKI, which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Order+Module

issues

JIRA issues related to this component can be found at https://issues.apache.org/jira/browse/OFBIZ/component/12311152

commits

Committed revisions can be viewed at http://svn.apache.org/viewvc/ofbiz/trunk/applications/order