Questions tagged [msi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

[Magento][2.4.3] Deduct source item on refund

I have config MSI for my store and I have some problem. When I call api /V1/invoice/:invoiceId/refund to refund my order with payment type is online payment (ex: paypal, ATM..) after refund success, ...
user avatar
0 votes
0 answers
9 views

Multi source inventory: Move inventory/stock from non-MSI to newly added MSI source/stock?

We have an existing store, where we have just one warehouse. Let's call it Warehouse 1. Because we have only this one warehouse, the MSI related extensions have been disabled before. This is how we ...
user avatar
  • 1,033
0 votes
0 answers
19 views

Change Scope from Global to website for "Maximum qty allowed in Shopping Cart"

The global setting in Magento2 System -> Configuration -> Catalog -> Inventory -> Product Stock Options has settings for "Maximum qty allowed in Shopping Cart". Unfortunately, ...
user avatar
0 votes
0 answers
12 views

How to return inventory quantity with an order status of PAYMENT REVIEW

I have a question about an item whose current order status is "PAYMENT REVIEW". Is there a way to restore the SKU inventory? How can I change the quantity available for sale back from 1 to 2 ...
user avatar
0 votes
0 answers
15 views

Magento MSI Source - add custom field to Sources in M2

I want to add custom field in MSI source form. not able to find any documentation or idea on it anyone can help me to add field in MSI? I saw same question but not got any proper answer Magento MSI; ...
user avatar
  • 2,411
0 votes
1 answer
21 views

Magento2 MSI Install on 2.3.4

Trying to install https://github.com/magento/inventory on our Magento Enterprise Cloud v2.3.4 however, am getting this error and am not sure if anyone else has experienced this and figured out how to ...
user avatar
  • 771
2 votes
2 answers
67 views

Create custom date MSI Attribute

Is it possible to create a custom attribute for MSI Stock data at the store level and add it in the following table at Admin Product edit or do we just have to use the extension/custom attribute to ...
user avatar
0 votes
0 answers
117 views

Magento 2: Get source inventory qty based on store view

I want to show stock qty based on store view here: I tried getting msi source item qty by sku using: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productMsis = $...
user avatar
0 votes
1 answer
64 views

How do I query products by saleable quantity in MSI

How can I get a list of products that have 0 saleable quantity using either the product repository or collection (if not possible in repository). Something like $searchCriteria = $this->...
user avatar
0 votes
0 answers
47 views

Magento2 Special Price is not correctly reflecting on Product List Page and Search Page

Pr-conditions: Magento version: Magento Commerce 2.3.6 Varnish version : 5.2.1 PHP version: PHP 7.2.33 MySQL version: 5.7 Multi Website architecture Catalog Price Scope = "Website" (Admin &...
user avatar
  • 1
0 votes
0 answers
33 views

Allow assigning source for backordered items when shipping in M2 MSI

For various reasons, mainly POS, we need to be able to assign a source and ship the order even if the quantity available is less than the ordered quantity in Magento 2 with MSI enabled. Let's say we ...
user avatar
  • 7
0 votes
0 answers
23 views

Is there an observer that fires after all MSI stock source quantities have been saved?

I have a Magento 2.4.1 store with MSI enabled. I have two 'stocks' - default and website. Website is associated with my site. Default is not used. I want to create an observer that does the following: ...
user avatar
0 votes
0 answers
5 views

How to filter a product collection by BackOrders value in Magento 2.4 with MSI activated?

Mostly everything is in the title. I need to get all products that have the backorder attribute set to 0. Something like this : <?php $productsCollection = $this->productCollectionFactory-...
user avatar
  • 124
0 votes
0 answers
34 views

Sql query to get best seller in stock products only (configurable, simple) both for multi source inventory store by category

i'm trying to get best seller in stock products(simple and config both) by category id : SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, IF(at_status.value_id > 0, at_status.value, ...
user avatar
0 votes
0 answers
39 views

After disabling MSI modules in magento2.4.1

My Magento store is throwing this error: Error: Cannot instantiate interface Magento\InventorySalesApi\Api\IsProductSalableInterface I am using Magento 2.4.1
user avatar
  • 399
1 vote
0 answers
50 views

Magento 2 order item find assigned MSI source

I am looking for a extended functionality of Magento 2 adminhtml. After order has been placed (created), how do I find out origin MSI source for each order item (and specified quantity) => from ...
user avatar
0 votes
0 answers
41 views

Is there any way to change website (Sales Channel) stock on the fly (plugin or observer)

I have one website and three stocks, every stock is linked to one source, I also have a dropdown list which display those three sources as Stores (it is like Store Selector). What I want to do is ...
user avatar
  • 2,055
1 vote
1 answer
88 views

Is it ok to Truncate the "inventory_reservation" table

I have Magento 2.3.6 with MSI enabled. What are the consequences that can occur after truncating the "inventory_reservation" table? Is it ok to truncate the "inventory_reservation" ...
user avatar
1 vote
1 answer
245 views

Impossible drop table during s:up after disable MSI

I have disable MSI M 2.4.0 and now I try run upgrade but I get: SQLSTATE[HY000]: General error: 1829 Cannot drop column 'source_code': needed in a foreign key constraint '...
user avatar
  • 2,052
0 votes
0 answers
11 views

Magento Core module updates - please Help

We had Magento 2.3.3 and the following modules disabled: Our previous developer did this. I just recently upgraded to Magento 2.3.6 and today I tried to enable this modules but I got error when I did ...
user avatar
0 votes
1 answer
147 views

How to determine if MSI is enabled or not

I am building a Magento 2 module that makes changes to stock information. Bearing in mind stock management APIs are different in Magento depending on if MSI is being used or not, what is the best ...
user avatar
  • 101
0 votes
1 answer
279 views

Magento 2.4 MSI : How to programmatically set Notify Stock Level on Source and SKU

I would like to set Notify Qty from a script that reads a CSV file with Source, SKU and NotifyQty. It would probably need to enable notify qty for the products as well. I can do it with SQL query to ...
user avatar
  • 7
0 votes
1 answer
73 views

How to set source quantity (MSI) from my own custom backend module in Magento 2.4?

I'm new to M2, and I am in a hurry to migrate my site from M1. In M1 I made my own MSI functionality, but now I would like to use the built in MSI functionality in M2. For some of the backend logic (...
user avatar
  • 7
0 votes
1 answer
320 views

Magento 2 MSI Get Product's Inventory Location/wareshouse on frontend

How would I go about displaying a product's warehouse location on the product page? We are using MSI and would like to display which stock source the product is in stock at on the product page.
user avatar
0 votes
1 answer
186 views

Magento 2.3.1 How to hide out of stock products from frontend?

I have Magento setup version 2.3.1 in normal Magento flow if salable qty is > 0 then the product will show in frontend else hide it. This functionality is working correctly after Magento version 2....
user avatar
  • 1,187
0 votes
1 answer
102 views

Can I set MSI stock values using products REST endpoint?

We currently run Magento without MSI. The ERP sends stock updates via extension attributes on the (bulk) product endpoint. This enables us to do most product updates in on API call. Very convenient. ...
user avatar
1 vote
0 answers
89 views

PHP Fatal error on inventory:reservation:list-inconsistencies command

Magento 2.4.0 PHP 7.3 MariaDB 10.4 When I try to run this command: bin/magento inventory:reservation:list-inconsistencies -r I get the following error: PHP Fatal error: Uncaught TypeError: Argument 1 ...
user avatar
1 vote
1 answer
872 views

How to fix Magento 2 MSI inventory reservation inconsistencies directly via DB?

I see orders that are closed, canceled or completed that were created in the reservation table but never removed and they won't be removed since it's triggered when the order changes the status. I ...
user avatar
0 votes
1 answer
760 views

How to solve Magento 2 inventory inconsistencies?

After 3 months of upgrading a Magento 2.0 to 2.3, I noticed many stock inconsistencies like items reserved and never removed, and the orders are closed. Why does it happen and how could I check it?
user avatar
0 votes
1 answer
19 views

How to display out of stock on product?

How can I display "Out of stock" in the product based on the Warehouse selected. I will have a selected_opco cookies that can determine the selected source. How can I display "Out of ...
user avatar
1 vote
0 answers
48 views

MSI M2 - Multisource shipping?

We are using MSI Multistock (multisource) and want to be able to ship from multiple sources in M2 in one shipment. In short it does the following sell items from multiple sources as shown in image ...
user avatar
  • 5,312
1 vote
0 answers
206 views

Default source and stock missing in MSI after re-enabled - Magento 2

We disabled all the below MSI extensions. Magento_Inventory Magento_InventoryCatalog Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi ...
user avatar
  • 9,479
0 votes
1 answer
268 views

Magento 2.3.4 - How to install Inventory Management Manually?

I am trying to install https://www.appjetty.com/magento2-magemob-inventory.htm, After installed the module during di:compile command i am getting the following error, Class Magento\Inventory\Model\...
user avatar
  • 103
0 votes
1 answer
216 views

Backorder quantity wrong when unshipped reservations

Magento version: 2.3.5-p1 (magento/module-inventory-sales) version: 1.0.8 -- The backorder quantity shown in checkout and stored in sales_order_item.qty_backordered can be wrong when there are ...
user avatar
  • 1
2 votes
0 answers
45 views

How to make my own selection algorithm working with multi source inventory? Magento 2.3

Is there a way to make my own selection algorithm in MSI? Working only with one website and one store.
user avatar
0 votes
1 answer
373 views

Magento2 Salable Qty value is not correct how can we re-calculate this value? List inconsistencies? Fix it?

Salable Qty <> sum(sources) No idea why. We are testing MSI and Backorders and have use the Ampersand extension to disable reservations. But nonetheless: how can salable qty be incorrect? and ...
user avatar
  • 5,312
0 votes
2 answers
296 views

Magento2 MSI How can we set 1 source to ship from, but not to sale from?

Magento2 MSI How can we set 1 source to ship from, but not to sale from? We currently use backorders. Sales are made from stock sources and backorders (min_qty). Suppose Local stock 2 Incoming stock ...
user avatar
  • 5,312
3 votes
1 answer
2k views

Magento2 MSI v2.3.5 and up: What does "Synchronize with Catalog" do exactly?

We are seeing a new option in v2.3.5 "Synchronize with Catalog" and can read about it here. https://docs.magento.com/user-guide/configuration/catalog/inventory.html But what does it do ...
user avatar
  • 5,312
0 votes
2 answers
3k views

How do we change the Default Stock or Default Source for Magento 2 MSI?

How do we change the Default Stock or Default Source for Magento 2 MSI? There is no option to do so And when importing stock or Backorder " out of stock threshold " then it activates Default ...
user avatar
  • 5,312
3 votes
2 answers
437 views

I have to disable the MSI and enable the usual qty field only in the magento 2.3.5 version

I have to disable the MSI and enable the usual qty field only in the Magento 2.3.5 version https://www.rakeshjesadiya.com/disable-sources-in-multi-source-inventory-magento-2/ I tried to use the ...
user avatar
1 vote
0 answers
87 views

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

I have disabled the MSI inventory module (as explained in this article) in my store. After facing some issues I have reverted back MSI related all modules, but after enabled all modules I am not able ...
user avatar
1 vote
0 answers
73 views

Filter in Admin Panel by MSI Salable Quantity > 0

How can I add a filter in the Admin Panel products grid to filter (display only) product with Salable Quantity > 0?
user avatar
  • 151
0 votes
1 answer
42 views

Assign inventory source if distance greater than 20km

I am using the distance priority algorithm for source selection of the inventory. I want to assign a particular source to a product if the nearest available source is greater than 20km distance. Is it ...
user avatar
  • 104
0 votes
0 answers
181 views

Wrong store_id in product collection

I need to cycle products collection for each store. But the method $collection->addStoreFilter($store) seems to not work properly. I also tried to $collection->setStore and setStoreId. The problem ...
user avatar
1 vote
2 answers
1k views

MAGENTO 2: HOW TO DISABLE MSI in MAGENTO 2.3.0

How one can disable the MSI module in Magento 2.3.0 if not in use.
user avatar
  • 71
0 votes
1 answer
176 views

Assign inventory by customer group with MSI?

We have a site with B2C Customers and B2B customers. The Inventory of each came for different warehouses. So, the requirement is that B2C customer only watches and buy the products in stock on B2C ...
user avatar
1 vote
2 answers
682 views

Can I disable the Magento Inventory modules?

I have my stock synchronized and managed by SAP, because of it I'm having issues with the inventory quantity vs salable quantity, I won't use multi-source inventory in this project, can I disable ...
user avatar
1 vote
1 answer
1k views

Why I received the error "Could not receive Stock Item data" in admin product grid?

"Could not receive Stock Item data" line appear instead of the product grid in the admin side. I have recently imported other DB to my Cloud local setup. When I'm doing indexing, I'm getting an error ...
user avatar
1 vote
0 answers
125 views

Unassigning a source on a product programmatically in Magento 2's MSI

In the admin for a product, you can assign and unassign sources for a product (as seen below). How to programmatically unassign a source from a product?
user avatar
  • 2,429
1 vote
1 answer
625 views

Why I can't delete my default stock and source in the MSI?

I've tried to remove the default stock and source, why I'm not allowed to do it?
user avatar