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

FacilityId should be mandatory for "Create Inventory Item" form in EditInventoryItem screen.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, Release Branch 16.11
    • Fix Version/s: 16.11.04
    • Component/s: order
    • Labels:
      None

      Description

      Steps to regenerate:
      1. Create a Purchase Order.
      Go to https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry
      2. Here you can see Purchase Order section, select the proper filters and click on continue.
      3. You will redirect to https://demo-trunk.ofbiz.apache.org/ordermgr/control/initorderentry . Fill the mentioned details and click continue.
      4. You will redirect to https://demo-trunk.ofbiz.apache.org/ordermgr/control/setOrderCurrencyAgreementShipDates
      5. Here, select productId and enter the quantity then click on "add to order" button.
      6. Now you will redirect to https://demo-trunk.ofbiz.apache.org/ordermgr/control/additem
      7. Here, you can see "Order Items" section. Click on Inventory button there.
      8. You will redirect to EditProductInventoryItems screen. Click on "Create New Inventory for this product" button.
      9. You will redirect to EditInventoryItem screen.
      If you click on create button, it will show you an error createInventoryItem.facilityId is missing in parameter which is valid. Then you will choose facilityId and click on create button, it will throw an error that UpdateInventoryItem.inventoryItemId is missing.
      Now you are blocked, you cant update the inventory.
      So the solution is, here facilityId should be a mandatory field in the form like we have productId mandatory.

      1. OFBIZ-9499.patch
        0.7 kB
        Renuka Srishti

        Activity

        Hide
        akash.jain Akash Jain added a comment -

        Thanks, Renuka Srishti for the contribution. Changes are committed in trunk at r1808834 and release16.11 at r1808835.

        Show
        akash.jain Akash Jain added a comment - Thanks, Renuka Srishti for the contribution. Changes are committed in trunk at r1808834 and release16.11 at r1808835.
        Hide
        Renuka_Srishti Renuka Srishti added a comment -

        This patch can also apply in release 16.11

        Show
        Renuka_Srishti Renuka Srishti added a comment - This patch can also apply in release 16.11
        Hide
        Renuka_Srishti Renuka Srishti added a comment -

        Here is the patch for this issue.

        Show
        Renuka_Srishti Renuka Srishti added a comment - Here is the patch for this issue.

          People

          • Assignee:
            akash.jain Akash Jain
            Reporter:
            Renuka_Srishti Renuka Srishti
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development