ATP netting is the core calculation logic that determines the projected available balance of inventory by subtracting gross demand requirements from scheduled receipts and on-hand stock within each time bucket. The process runs sequentially across the ATP horizon, consuming supply to satisfy demand and generating a net availability figure that the order promising engine uses to commit delivery dates.
Glossary
ATP Netting

What is ATP Netting?
ATP netting is the fundamental arithmetic engine that computes the projected available balance by sequentially subtracting gross demand from scheduled supply within a defined time horizon.
The netting calculation respects the demand time fence (DTF), where actual customer orders fully consume the forecast, and applies sourcing rules to prioritize which supply elements are consumed first. A negative projected balance signals a potential stockout, triggering exception alerts for planners to expedite supply or reallocate inventory before the capable-to-promise check fails.
Core Characteristics of ATP Netting
ATP Netting is the fundamental arithmetic engine of order promising. It executes a time-phased subtraction of gross demand from total supply to generate the projected available balance, which serves as the single source of truth for real-time commitments.
The Netting Equation
The core calculation follows a strict time-phased sequence: Projected Available Balance (PAB) = Prior Period PAB + Scheduled Receipts - Gross Demand. This equation runs bucket-by-bucket across the ATP Horizon. If PAB drops below zero, the system flags a potential stockout. The calculation respects the Demand Time Fence (DTF) , where actual orders consume the forecast, preventing double-counting of requirements.
Supply & Demand Buckets
Netting logic aggregates data into discrete time buckets. Supply includes:
- On-hand inventory
- Open purchase orders (In-Transit Inventory)
- Firm planned production orders
- Safety Stock (treated as untouchable demand)
Demand includes:
- Sales orders (hard demand)
- Forecast (soft demand, consumed inside the DTF)
- Inter-plant transfers
- Safety stock requirements
Cumulative vs. Period Netting
Two distinct methodologies exist:
Periodic Netting: Calculates PAB strictly within a single time bucket. Excess supply in one period does not automatically cover a shortage in the next.
Cumulative ATP: Sums available supply across multiple periods. A large order can be promised against the total supply available over a future timeframe, enabling bulk order commitments without splitting. This is critical for Global ATP checks across a network.
Pegging & Traceability
Netting is intrinsically linked to pegging. Demand Pegging traces a specific supply receipt (e.g., a PO) to the exact sales order consuming it. Supply Pegging performs the reverse, linking a customer order to its fulfilling supply elements. This bidirectional traceability enables impact analysis: if a supplier delays a shipment, the system instantly identifies every customer order at risk, triggering Backorder Processing or re-promising workflows.
Constraint Integration
Basic netting assumes infinite capacity. Constraint-Based ATP extends the logic by feeding the netting output into a constraint solver that simultaneously evaluates:
- Material availability (from netting)
- Finite Capacity Scheduling of work centers
- Transportation lane capacities
If a resource bottleneck is detected, the solver iteratively adjusts the promise date. This contrasts with Rule-Based ATP, which applies a static sequence of sourcing rules without dynamic capacity validation.
Real-Time Re-Netting Triggers
The netting calculation is not a static batch job. Modern Order Promising Engines re-execute netting in real-time when:
- A new sales order is placed
- A purchase order receipt is confirmed
- A production order is completed or delayed
- Safety Lead Time buffers are consumed
This continuous re-netting ensures the Projected Available Balance always reflects the current state, enabling accurate Order Reservation and preventing overselling.
Frequently Asked Questions
Clear, technical answers to the most common questions about the core calculation logic that drives Available-to-Promise commitments.
ATP Netting is the core calculation logic that subtracts gross demand requirements from scheduled receipts and on-hand inventory to compute the Projected Available Balance (PAB) for a given period. The process operates sequentially across the ATP Horizon, starting with current on-hand inventory. In each time bucket, the system first adds any scheduled receipts—such as open purchase orders, firm planned orders, or in-transit shipments—to the beginning balance. It then subtracts gross demand, which includes sales orders, safety stock requirements, and forecast consumption. The resulting balance becomes the opening inventory for the next period. If the PAB falls below zero, the system flags a potential stockout and may trigger a planned order release to restore availability. This netting logic is the mathematical engine behind every Order Promising Engine, ensuring that commitments are made against real, unallocated supply rather than theoretical inventory positions.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
ATP Netting vs. Related Calculation Methods
A technical comparison of the core calculation logic, inputs, and constraints evaluated by different order promising methods.
| Feature | ATP Netting | Capable-to-Promise (CTP) | Profitable-to-Promise (PTP) |
|---|---|---|---|
Primary Objective | Calculate projected available balance to commit inventory | Validate production capacity and material availability | Maximize margin by evaluating fulfillment cost vs. revenue |
Core Calculation Logic | Subtracts gross demand from scheduled receipts and on-hand inventory | Explodes BOM and routes against finite capacity schedules | Applies cost-to-serve model against customer lifetime value |
Key Input Data | On-hand inventory, scheduled receipts, gross demand | BOM, routings, work center calendars, material availability | Freight costs, labor, margin, customer segment profitability |
Evaluates Capacity | |||
Evaluates Material Constraints | |||
Evaluates Financial Viability | |||
Primary Time Horizon | Short-term (days to weeks) | Medium-term (weeks to months) | All horizons |
Typical Response Latency | < 1 sec | 1-5 sec | 2-10 sec |
Related Terms
Mastering ATP Netting requires understanding the broader order promising logic that governs modern supply chains. These related concepts define how inventory is allocated, committed, and optimized.
Available-to-Promise (ATP)
The foundational real-time check that determines the uncommitted inventory available to promise to a customer. ATP is the output of the netting calculation, representing the quantity and delivery date that can be committed without causing a stockout. It answers: 'What can I sell right now?'
Capable-to-Promise (CTP)
An extension of ATP that evaluates production capacity and material availability in addition to on-hand inventory. When ATP netting reveals zero available stock, CTP determines if manufacturing can produce the item by the requested date. It answers: 'Can I make it in time?'
Demand Pegging
The process of linking a specific supply receipt (purchase order, production run) to a specific customer order. This traceability is critical for understanding the impact of supply disruptions. Key types:
- Soft pegging: Informational link for planning
- Hard pegging: Enforced reservation preventing reallocation
Allocation Management
The strategic reservation of a portion of available inventory for specific customers, channels, or product segments. Allocation prevents overselling to lower-priority demand streams and ensures strategic accounts receive guaranteed supply. It operates as a pre-netting constraint on the ATP calculation.
Cumulative ATP
A calculation method that sums available inventory across multiple time periods. This allows a single large order to be promised against the total supply available over a future timeframe, rather than being rejected because no single period has sufficient quantity. Essential for lumpy demand patterns.
Order Promising Engine
The core software component executing ATP, CTP, and PTP logic in real-time. It ingests the netting calculation, applies business rules, and generates a reliable delivery date. Modern engines operate at sub-second speeds, processing thousands of order inquiries simultaneously across global networks.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us