-
Notifications
You must be signed in to change notification settings - Fork 248
Stock Management for Order Cancelation
Lori Krell edited this page Nov 13, 2018
·
11 revisions
When canceling an order, MSI supports:
- Full and partial canceling an order (not invoiced/shipped)
- Full and partial credit memo (refund) an order
The following tables track inventory updates for Magento and Magento + MSI installations.
When an order is placed:
- Magento deducts the amount ordered from the product quantity
- Magento + MSI enters a reservation subtracted from the product's salable quantity (not from the on-hand inventory quantity)
Product Type | Magento | Magento with MSI |
---|---|---|
Simple | + | + |
Configurable | + | + |
Grouped | + | + |
Virtual | + | + |
Bundle | + | + |
Downloadable | + | + |
When an order is placed then canceled, but not invoiced/shipped:
- Magento adds the amount ordered to the product quantity
- Magento + MSI enters a reservation compensation to the product's salable quantity (not from the on-hand inventory quantity). This effectively removes the reservation and provides additional salable quantities for that Stock.
Product Type | Magento | Magento with MSI |
---|---|---|
Simple | + | + |
Configurable | + | + |
Grouped | + | + |
Virtual | + | + |
Bundle | + | + |
Downloadable | + | + |
When an order is canceled after shipment:
- Magento does not affect the product quantity, except for configurable products. Currently, Magento does return the quantity to those products.
- Magento + MSI does not affect reservations or quantities until a credit memo is placed, products returned.
Product Type | Magento | Magento with MSI |
---|---|---|
Simple | - | - |
Configurable | + | - |
Grouped | - | - |
Virtual | N/A | N/A |
Bundle | - | - |
Downloadable | N/A | N/A |
Partial Shipment works this way: items that are already shipped(Table 3) and items that are still in inventory (Table 2)
When a credit memo is issued for an order refund, select the "Return to Stock", the following happens:
- Magento adds amount to the product quantity
- Magento + MSI adds back the quantity amount to the Source that shipped the products. For Single Source merchants, returns to Default Source. For Multi Source merchants, returns to the source that shipped the products. This can affect multiple sources for refunded, partial shipments. Reservation compensation added for increased salable quantity.
Product Type | Magento | Magento with MSI |
---|---|---|
Simple | + | + |
Configurable | + | + |
Grouped | + | + |
Virtual | N/A | N/A |
Bundle | + | + |
Downloadable | N/A | N/A |
Multi-Source Inventory developed by Magento 2 Community
- Technical Vision. Catalog Inventory
- Installation Guide
- List of Inventory APIs and their legacy analogs
- MSI Roadmap
- Known Issues in Order Lifecycle
- MSI User Guide
- 2.3 LIVE User Guide
- MSI Release Notes and Installation
- Overview
- Get Started with MSI
- MSI features and processes
- Global and Product Settings
- Configure Source Selection Algorithm
- Create Sources
- Create Stock
- Assign Inventory and Product Notifications
- Configure MSI backorders
- MSI Import and Export Product Data
- Mass Action Tool
- Shipment and Order Management
- CLI reference
- Reports and MSI
- MSI FAQs
- DevDocs Documentation
- Manage Inventory Management Modules (install/upgrade info)
- Inventory Management
- Reservations
- Inventory CLI reference
- Inventory API reference
- Inventory In-Store Pickup API reference
- Order Processing with Inventory Management
- Managing sources
- Managing stocks
- Link and unlink stocks and sources
- Manage source items
- Perform bulk actions
- Manage Low-Quantity Notifications
- Check salable quantities
- Manage source selection algorithms
- User Stories
- Support of Store Pickup for MSI
- Product list assignment per Source
- Source assignment per Product
- Stocks to Sales Channel Mapping
- Adapt Product Import/Export to support multi Sourcing
- Introduce SourceCode attribute for Source and SourceItem entities
- Assign Source Selector for Processing of Returns Credit Memo
- User Scenarios:
- Technical Designs:
- Module Structure in MSI
- When should an interface go into the Model directory and when should it go in the Api directory?
- Source and Stock Item configuration Design and DB structure
- Stock and Source Configuration design
- Open Technical Questions
- Inconsistent saving of Stock Data
- Source API
- Source WebAPI
- Sources to Sales Channels mapping
- Service Contracts MSI
- Salable Quantity Calculation and Mechanism of Reservations
- StockItem indexation
- Web API and How To cover them with Functional Testing
- Source Selection Algorithms
- Validation of Domain Entities
- PHP 7 Syntax usage for Magento contribution
- The first step towards pre generated IDs. And how this will improve your Integration tests
- The Concept of Default Source and Domain Driven Design
- Extension Point of Product Import/Export
- Source Selection Algorithm
- SourceItem Entity Extension
- Design Document for changing SerializerInterface
- Stock Management for Order Cancelation
- Admin UI
- MFTF Extension Tests
- Weekly MSI Demos
- Tutorials