[ http://issues.apache.org/jira/browse/OFBIZ-386?page=comments#action_12443483 ] Ray Barlow commented on OFBIZ-386: ----------------------------------
On reflection I should have raised this bug as critcal rather than major and would suggest to those that can that it's priority gets raised. Following on from the comments I made originally if two new items are added to the order after the initial item is cancelled then the quantity for the first cancelled item will become -1, as I suggested. The order manager generally handles this OK and prices are left as 0 in the subtotals column, which is why I thought just "major" priority, unfortunately other areas especially customer facing don't handle it! For example look at the order in the ecommerce order history page and the quantity ordered shows -1, then follow along to the subtotal and it shows (2xUnitPrice) i.e. a discount! Needless to say looking down the order the grand total is just way out now. > Adding additional items in order entry messes up values for > quantity/remaining/outstanding on cancelled line items > ------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-386 > URL: http://issues.apache.org/jira/browse/OFBIZ-386 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: N/A : Clean SVN Derby Sun JDK 1.4.11 Win2k > Reporter: Ray Barlow > Attachments: itemstatus1.png, itemstatus2.png, itemstatus3.png > > > Create an order with two items, for example GZ-1000 and GZ-1001 -- > itemstatus1.png > Edit the order and cancel one of the line items -- itemstatus2.png shows 1 > item ordered, 1 cancelled, 0 remaining, outstanding and shortfalled. > Now edit the order again and add a new product such as GZ-1004 -- > itemstatus3.png this shows affect of the change to the order. The cancelled > line items values have been decremented, you can repeat adding items and it > keeps decrementing the cancelled line items values! > This makes a mess of the ordered quantity so you can't rely on knowing what > was previously ordered. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
