Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-386

Adding additional items in order entry messes up values for quantity/remaining/outstanding on cancelled line items

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Trunk
    • None
    • order
    • None
    • N/A : Clean SVN Derby Sun JDK 1.4.11 Win2k

    Description

      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.

      Attachments

        1. itemstatus1.png
          11 kB
          Ray Barlow
        2. itemstatus2.png
          9 kB
          Ray Barlow
        3. itemstatus3.png
          21 kB
          Ray Barlow
        4. order.patch
          2 kB
          Scott Gray

        Activity

          People

            jacopoc Jacopo Cappellato
            raybarlow Ray Barlow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: