InventoryReservationCli Module
GetCompleteOrderStateList
This class provides a standardized list of order states that are considered 'complete' in Magento's inventory reservation system. Developers use this...
GetSalableQuantityInconsistencies
This class identifies inventory reservation inconsistencies in Magento 2's Multi-Source Inventory (MSI) system by comparing expected reservations from...
ResourceModel\GetOrderDataForOrderInFinalState
This class retrieves order data for orders that are in a final state (complete, closed, canceled) from the database. Developers use this in the Invent...
ResourceModel\GetOrderIncrementId
This class retrieves an order's increment ID (the human-readable order number shown to customers) given its internal entity ID from the database. Deve...
ResourceModel\GetOrderItemsDataForOrdersInNotFinalState
This class retrieves order item data for orders that are not yet in a final/complete state (e.g., pending, processing). Developers would use this when...
ResourceModel\GetOrdersTotalCount
This class retrieves the total count of orders that are not in a completed state from the Magento database. Developers would use this class when worki...
ResourceModel\GetReservationsList
This class retrieves all inventory reservation records from the database. Developers would use it in CLI commands or utilities to audit, analyze, or m...
SalableQuantityInconsistency
This class represents a salable quantity inconsistency detected during inventory reservation analysis. Developers use this model when running CLI comm...
SalableQuantityInconsistency\AddCompletedOrdersToForUnresolvedReservations
This class matches completed orders with unresolved inventory reservations during the salable quantity inconsistency detection process. Developers use...
SalableQuantityInconsistency\AddExpectedReservations
This class calculates and adds expected inventory reservations for orders that are not yet in a final state (pending, processing, etc.). Developers wo...
SalableQuantityInconsistency\Collector
This class collects and organizes inventory reservation and order data to identify inconsistencies between expected and actual salable quantities. Dev...
SalableQuantityInconsistency\FilterCompleteOrders
This class filters salable quantity inconsistencies to identify only those related to completed orders. Developers use it when running inventory reser...
SalableQuantityInconsistency\FilterExistingOrders
This class filters out inventory reservation inconsistencies that don't have matching orders in the system. Developers would use this when running the...
SalableQuantityInconsistency\FilterIncompleteOrders
This class filters out salable quantity inconsistencies for orders that are in an incomplete state. Developers use this when running inventory reserva...
SalableQuantityInconsistency\FilterManagedStockProducts
This class filters out products that are not managed by inventory stock management from salable quantity inconsistency reports. Developers use this in...
SalableQuantityInconsistency\FilterUnresolvedReservations
This class filters out resolved inventory reservations from a list of salable quantity inconsistencies, keeping only those with unresolved items. Deve...
SalableQuantityInconsistency\LoadExistingReservations
This class loads and processes existing inventory reservations from the database, specifically filtering for order-related reservations. It's used by...