Log in
Model

GetBackorderQty

Magento\InventorySales\Model\GetBackorderQty

What it does

This class calculates the quantity of items that need to be backordered when a customer orders more than what's currently available in stock.

Developers use this to determine how many units will be on backorder when backorders are enabled, accounting for salable quantity, minimum quantity thresholds, and existing reservations to accurately inform customers and record backorder amounts in orders.

Public Methods

  • execute()