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

Order Item with multiple qty reserved with multiple inventory item not correctly recorded into Shipment_Item_Billing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 14.12.01, 16.11.01
    • order
    • None

    Description

      Say an order Item had a quantity of 2. It seems item issuance was done for these 2 quantity from two different inventory_item records. So instead of ITEM_ISSUANCE.QUANTITY = 2, two different ITEM_ISSUSANCE records are created which when translated into the invoice, created two different invoice_item lines, one for each quantity but SHIPMENT_ITEM_BILLING is recording only one invoice item

      Steps to reproduce:

      1. Take a product and make sure we have two different inventory item available (received) in system with 1 unit each
      2. Place a sales order with 2 units of above product added as order item. This should reserve both the inventory items available in step#1
      3. Ship and complete the order item
      4. This would create two different invoice item lines with each of the inventory items but SHIPMENT_ITEM_BILLING would have only 1 line created for it.

      Expected Behavior:
      SHIPMENT_ITEM_BILLING should have records created against each invoice lines with corresponding invoice_id and invoice_item_seq_id.

      Attachments

        1. FixedShipmentItemBilling.patch
          1 kB
          Ankush Upadhyay

        Activity

          People

            deepak Deepak Dixit
            swash78 Swapnil Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: