You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2006/11/12 00:29:39 UTC

[jira] Updated: (OFBIZ-386) Adding additional items in order entry messes up values for quantity/remaining/outstanding on cancelled line items

     [ http://issues.apache.org/jira/browse/OFBIZ-386?page=all ]

Scott Gray updated OFBIZ-386:
-----------------------------

    Attachment: order.patch

This patch fixes the problem Ray has described, I've also removed the redundant code that Ray mentioned in OrderReadHelper.getOrderItemQuantityBd(orderItem)

Regards
Scott

> 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
>            Priority: Critical
>         Attachments: itemstatus1.png, itemstatus2.png, itemstatus3.png, order.patch
>
>
> 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