OFBiz
  1. OFBiz
  2. OFBIZ-1887

configurable Product processing with inventory required

    Details

      Description

      Hi,
      I tried to insert an order concerning the configurable Product example,
      PC001.
      I joined PC001 and its components to a warehouse and a main supplier.
      I also populated my warehouse with purchase order only for PC components
      (RAM, HD, ..)

      Inventory:
      PC001 = 0
      RAM= 10
      HD2GB = 10
      HD4GB=10
      ETHERNET = 10
      MODEM = 10

      Because it's not necessary to create any BOM for configurable goods,
      I executed a sale order configuring the interested components and waiting
      the production run creation.

      But I received the following error " :
      "Sorry, we do not have enough (you tried 1) of the product Configurable PC
      (product ID: PC001)
      in stock, not adding to cart. Please try a lower quantity, try again later,
      or call customer
      service for more information".

      Any suggestion?

      Nico

      Hi Nico,

      you have to adjust product store and product parameters.
      Any of these should solve your problem :

      productStore.checkInventory = "N"

      OR

      product.requireInventory ="N"

      OR

      product.requireInventory =""
      productStore.requireInventory ="N"

      Bilgin

      However this does not address why

      product.requireInventory ="Y"
      causes this error.

      will trouble shoot.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            BJ Freeman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development