Inferensys

Glossary

Demand Pegging

Demand pegging is the process of linking a specific supply receipt, such as a purchase order or production run, to a specific customer order or demand requirement to establish traceability.
Wide-angle shot of a modern WeWork open floor plan with creative walls covered in AI system architecture diagrams, product team collaborating in standing desk area with industrial lighting.
SUPPLY CHAIN TRACEABILITY

What is Demand Pegging?

Demand pegging is a core supply chain planning mechanism that creates a direct, traceable link between a specific source of supply and the independent customer demand that requires it.

Demand pegging is the process of dynamically linking a specific supply receipt—such as a purchase order, production run, or in-transit shipment—to a distinct customer order or forecasted requirement. This traceability chain propagates from the top-level independent demand down through all levels of the bill of materials, ensuring that every component and raw material is explicitly reserved for a specific end-use. Unlike a simple allocation, pegging maintains a hard, auditable connection that persists through planning changes.

This mechanism is critical for Available-to-Promise (ATP) logic and disruption analysis. When a supply receipt is delayed, the pegging tree instantly identifies every impacted customer order, enabling precise exception management. It also prevents the double-counting of supply by ensuring a single receipt cannot be promised to multiple demands, enforcing the fundamental planning constraint that allocated supply is no longer available for netting against other requirements.

TRACEABILITY MECHANICS

Key Characteristics of Demand Pegging

Demand pegging creates a critical audit trail by linking supply receipts directly to demand sources, enabling precise impact analysis and inventory stratification.

01

Unidirectional Traceability

Demand pegging establishes a parent-child relationship from the demand source down to the supply receipt. Unlike supply pegging, which traces upward, demand pegging answers the question: "Which customer orders are consuming this specific purchase order or production batch?" This directional link is essential for impact analysis when a supply receipt is delayed or scrapped, allowing planners to immediately identify all affected sales orders and their promised delivery dates.

02

Pegging Chains in Multi-Level BOMs

In manufacturing environments, pegging extends through the bill of materials (BOM) to create multi-level chains. A finished good sales order pegs to a production order, which in turn pegs to its component work orders, which peg to raw material purchase orders. This full pegging chain provides end-to-end visibility, enabling a planner to trace a raw material shortage all the way to the specific customer orders at risk, prioritizing expediting efforts based on revenue impact.

03

Soft Pegging vs. Hard Pegging

Pegging relationships can be soft or hard. Soft pegging is a planning-time association that can be dynamically reassigned by the planning engine as priorities shift. Hard pegging is a transactional lock that physically reserves supply for a specific demand, preventing reallocation. Hard pegs are common in make-to-order and engineer-to-order environments where customer-specific configurations or regulatory requirements demand strict lot traceability.

04

Pegging for Allocation Management

Demand pegging is the foundational mechanism behind allocation management. By pegging high-priority customer orders to specific supply receipts, the system prevents those receipts from being consumed by lower-priority demand during the ATP check. This ensures strategic accounts receive their committed inventory even during shortages. The pegging record acts as a reservation contract that the order promising engine must honor.

05

Pegging in Supply Shortage Analysis

When a purchase order is delayed, the pegging data enables a shortage impact report. The system instantly identifies all downstream demands linked to that receipt and calculates the magnitude of the shortfall. This allows planners to perform what-if simulations—re-pegging available supply to the most critical orders—before executing changes. Without pegging, shortage resolution is a manual, error-prone process of searching through spreadsheets.

06

Integration with Order Promising

Demand pegging directly feeds the Available-to-Promise (ATP) and Capable-to-Promise (CTP) engines. When an order is promised, a pegging record is created linking the order line to the specific supply element that covered the commitment. This pegging data is then used for subsequent ATP netting calculations, ensuring that supply already committed to a pegged demand is not double-promised to another incoming order.

TRACEABILITY DIRECTION

Demand Pegging vs. Supply Pegging

A comparison of the two complementary pegging processes that establish bidirectional traceability between demand requirements and supply receipts in a supply chain.

FeatureDemand PeggingSupply PeggingBidirectional Pegging

Traceability Direction

Demand → Supply

Supply → Demand

Demand ↔ Supply

Primary Question Answered

"Which supply fulfills this demand?"

"Which demand consumes this supply?"

"What is the full dependency chain?"

Initiating Entity

Customer order or forecast

Purchase order or production run

Either entity

Impact Analysis Trigger

Supply disruption

Demand cancellation

Any change event

Supports ATP/CTP Logic

Enables Substitution Planning

Visibility Scope

Downstream fulfillment path

Upstream consumption path

End-to-end network

Typical System of Record

Order Management System

ERP/MRP System

Supply Chain Control Tower

DEMAND PEGGING EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about demand pegging, its mechanisms, and its role in modern supply chain traceability.

Demand pegging is the process of creating a traceable, hierarchical link between a specific source of supply (such as a purchase order, production order, or on-hand inventory) and a specific independent demand requirement (such as a customer sales order or forecast). It works by dynamically tracing through the Bill of Materials (BOM) and the master production schedule to connect gross requirements for a parent item down to the net requirements for its components. When a sales order is entered, the system "pegs" the required quantity against a specific supply receipt, establishing a where-used chain. This creates a visual, auditable trail that allows planners to immediately see exactly which customer orders will be impacted if a specific incoming shipment or production run is delayed.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.