magento / inventory

Magento Inventory Project (a.k.a MSI)
Open Software License 3.0
337 stars 248 forks source link

Magento2: Not able to assign Source after enable the MSI module #3053

Open Puru2016 opened 4 years ago

Puru2016 commented 4 years ago

Preconditions (*)

  1. Magento Commerce 2.3.3
  2. MSI modules re-enabled

Steps to reproduce (*)

  1. I am facing stock reservation issue in my running website when product have 1 Qty, in this condition I am not able to place order on frontend.
  2. To fix this issue I have disabled the all modules of MSI.
  3. Again I am facing some issue when duplicate order created.
  4. To revert this side effect I have enabled all MSI modules.
  5. I have created a default record in Manage source section.
  6. I have created a default stock record in Manage stock section, but not able to assign source in this record.

Expected result (*)

Screenshot_1

Actual result (*)

  1. I am not able to save the Source in stock record, same as default. Screenshot_8
m2-assistant[bot] commented 4 years ago

Hi @Puru2016. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


udittakwani commented 4 years ago

Same issue did you find any solution?

Puru2016 commented 4 years ago

I have created a record in inventory_source_stock_link table:-

image_2020_05_23T15_47_44_009Z

Open and save product to update salable quantity in each product.

Hope that solution work for you.

udittakwani commented 4 years ago

Thank you so much it worked now assigned source is showing up but there is other issue now all my products are showing out of stock on front end even though they are showing in stock in backend

Is there any specific command i need to run after making changes in DB?

udittakwani commented 4 years ago

I figured it out doing re-indexing helped and now i am able to see everything perfectly thanks

padmapriya-varadhan commented 3 years ago

I have created a record in inventory_source_stock_link table:-

image_2020_05_23T15_47_44_009Z

Open and save product to update salable quantity in each product.

Hope that solution work for you.

This worked for me. Thanks a lot!

RonakParmar commented 3 years ago

@udittakwani I have reindexed but still my old products are showing out of stock. I have checked in database. "inventory_source_item" this table shows only newly created products. Old products are missing in this table.

Is there any solution for this issue?

Thank you.

udittakwani commented 3 years ago

Sorry then you will have to add products i have not faced this issue so cant help