Recalculate Reserved Inventory

Recalculate reserved inventory counts for products in the order.

Overview

The Recalculate Reserved Inventory step triggers a full recalculation of reserved inventory for all SKUs in the order. This ensures reserved inventory counts are accurate by recalculating from all open orders.

Identifier

PropertyValue
KeyRecalculateReservedInventory
GroupShipments
Applicable StatusesNew, Ship, ReadyForPickup, Completed, Returned

Configuration Properties

This step has no configurable properties.

Behavior

What It Does

  1. Checks if all order lines are virtual products (skips if so)
  2. Collects SKU codes from all non-virtual product line items
  3. Recalculates reserved inventory quantities for the SKU list by checking all open orders
  4. The service recalculates reserved quantities by checking all orders in non-delivered, non-canceled statuses

Prerequisites

  • Order must have non-virtual product line items
  • Inventory service must be configured

Side Effects

  • Reserved inventory counts are recalculated from order data
  • May adjust reserved counts up or down based on actual orders
  • Affects all warehouses where the SKUs exist

Business Cases

When to Use

  • Inventory correction: When reserved counts have drifted from reality
  • After bulk operations: Following imports or bulk updates
  • Order modifications: After significant changes to order quantities
  • System recovery: After data issues or migrations

Example Scenarios

Scenario 1: Data Correction Reserved inventory counts are incorrect due to a previous bug. Running this step recalculates correct values from current order data.

Scenario 2: Return Processing Order is returned. Step recalculates reserved inventory to reflect the changed order state.

Scenario 3: Order Completion Order marked complete. Step recalculates to ensure reserved counts exclude this now-completed order.

Scenario 4: All Virtual Products Order contains only digital/virtual products. Step returns success immediately without processing.

Error Handling

ConditionResultContinues Workflow?
All virtual productsSuccess (no action)Yes
No order linesWarningYes
Recalculation successfulSuccessYes

On this page