How Inventory Batch Pre-Processing works
Essential knowledge
Intended Audience:
Technical User
Authors:
Girish Padmanabha, Kirill Gaiduk
Changed on:
23 Mar 2026
Overview
This document outlines the functionality of Inventory Batch Pre-Processing, offering insights into how unchanged records are filtered during the inventory ingestion process using Inventory Batches.Key points
- Prerequisites: You should have knowledge of Global Inventory, Inventory Batch Pre-Processing, and Workflow Engine
- Efficient Processing: Inventory Batch Pre-Processing handles batch inventory updates before they reach the inventory workflows, streamlining the process
- Change Detection: Identifying inventory records that have changed, ensuring the workflow engine processes only necessary updates
- Performance Improvement: Reduces workflow engine load by filtering unchanged records, enabling faster and more efficient inventory processing
- Enhanced Flexibility: Supports additional fields in batch records, allowing for more precise control and management of inventory updates
Architecture
- Initial Analysis: Instead of immediately processing each record, the system first analyzes the batch to identify which records have actually changed
- Selective Processing: The workflow engine forwards only the records identified as changed to the Inventory Queue for processing
- Optimized Workflow: This reduces unnecessary workload on the workflow engine, improving overall system performance and reducing processing time
Components
The Batch Pre-Processing system consists of two main components:1. Loader Job
Purpose: The Loader Job loads existing inventory data from the database. This includes current quantities, statuses, and any active transient inventory quantities.Function:- Data Gathering: Collects the current state of inventory positions and quantities
- Preparation for Comparison: Prepares data for the Comparison Job to use in determining changes
2. Comparison Job
Purpose: The Comparison Job compares the new batch updates against the existing inventory data loaded by the Loader Job.Function:- Change Detection: Determines whether each inventory update represents a change that needs processing
- Criteria for Change:
- Inventory Quantity Identification
- Quantity and Status Comparison
- Transient Inventory Quantities Check
Decision Logic Flow
Here's a detailed breakdown of how the Comparison Job decides whether an update is "changed" or "unchanged" for each inventory record in the batches processed for the current preprocessing execution: