Distribution Inventory Planning Agent
Works with the short-term inventory optimizer for a depot network (tanks and cylinders): explains each depot's plan to its manager, handles exceptions the plan does not cover, learns from manager overrides, and sends plan adjustments to SAP within tolerance.
For distribution and depot planners.
An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.
Produces
Distribution-plan exception findings and proposed responses for the planner to review.
Outcome to measure
Plan adherence
Agree the baseline and target for your operation.What it does
When it starts
The optimizer finished a run and wrote it to SAP; one event per depot whose plan changed. The optimizer could not plan a line, or flagged a supply or cylinder shortfall or an urgent order. A depot manager changed, rejected or added a plan line in SAP. A depot product fell below its minimum days of supply.
The decision it supports
Works with the short-term inventory optimizer for a depot network (tanks and cylinders): explains each depot's plan to its manager, handles exceptions the plan does not cover, learns from manager overrides, and sends plan adjustments to SAP within tolerance.
The output
Distribution-plan exception findings and proposed responses for the planner to review.
Data and services it needs 5 lookups
- Depot Plan Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCDepot
- Depot Status Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCDepotStatus
- Plan Override History Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCPlanOverride
- Sales Order Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCSalesOrder
- SOP Lookup
- Read-only information supplied by this configured lookup.Source: MCP service
Operating rules and checks 11 rules
- The optimizer owns the network plan
- Adjustments beyond the quantity tolerance need planner approval
- Depot managers keep the right to override; they record the reason in SAP
- Must adjust only plan lines from the latest optimizer run
- Must state the depot's days of supply and the reason in every adjustment
- Must never re-plan the network or change more than the exception needs
- Must record override patterns at depot level, never about named individuals
- Must escalate when no adjustment keeps a depot above its minimum days of supply
- Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
- Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
- Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.
Example in practice
Synthetic exampleA worked example from the package
Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.
Starting situation
The optimizer publishes a new depot plan.
Depot Plan Lookup and Depot Status Lookup: depot D-07 below minimum days of supply.
Agent output
send-depot-plan-briefing to the planner and propose-plan-adjustment within the 10% tolerance: released.
Human decision
The planner approves changes beyond the tolerance.
Measure with your site data
Suggested success measures
Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.
Plan adherence
Share of plan lines executed as planned, without override.
Data needed: dbo.SCPlanLine, dbo.SCPlanOverrideAdherence spread between depots
Difference between the depots with the highest and lowest plan adherence: the measure of depots deciding differently on the same data.
Data needed: dbo.SCPlanLine, dbo.SCPlanOverrideDepot run-outs
Depot and product combinations that fell below minimum days of supply.
Data needed: dbo.SCDepotStatusEmergency deliveries
Deliveries added outside the plan because a depot ran short.
Data needed: dbo.SCPlanOverride (added lines)Exceptions handled in time
Share of plan exceptions with a released or approved adjustment, or an escalation, within 4 hours.
Data needed: dbo.SCPlanException, dbo.SCActionRequestOverride reasons
Overrides by reason across the network.
Data needed: dbo.SCPlanOverrideDepots briefed after a material plan change
Share of depots with a material plan change that received a briefing before the first changed line.
Data needed: dbo.SCActionRequestYour starting point
The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.
What the package contains
Agent configuration
An AI Designer team import with embedded agent profiles and tool configuration.
Data and action workflows
Package DataStreams and the shared domain streams identified on the package page.
SQL setup
Shared domain SQL schema and sample data.
Simulation and test scenarios
Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.
Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.
What you configure
- 01
Connect your records and services
Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.
- 02
Set limits and responsibilities
Agree who owns the workflow, which actions are permitted, and who approves exceptions.
- 03
Complete the site integration
Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.
- 04
Set up success measures
Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.
- 05
Validate for your operation
Run agreed acceptance cases with your data and users before putting the workflow into operation.
Package-specific dependencies
- collector streams into the staging tables
- site integration (vw_SCActionReady and Stream 17 receipts)
- approvals page writing dbo.SCApproval
- service adapter (MCP)
- service adapter sc_optimizer
Acceptance cases supplied with the package
- Ordinary case (the worked example)
- A tool returns nothing for a fact the decision needs
- A tool stream is stopped
- An action with a missing parameter or unknown ID
- A person rejects the approval card
- A person approves with changed values
- The same action id is published twice
- Edge: missing value: A figure the output needs comes back empty (null) from its tool
- Edge: no history: A history search the output relies on returns no records
- Failure: go ahead is not approval: After an approval card is shown, a person writes 'go ahead' in chat about a changed version (a different value)
These cases describe what to test. They are not evidence of successful execution in XMPro.
Scoping questions
- Which decision or workflow should Distribution Inventory Planning Agent support in your operation?
- Which source systems, records and existing models will provide the required information?
- Who owns the decision, approves exceptions and confirms that actions were completed?
- What baseline, acceptance cases and evidence will you use before putting it into operation?
Our AI can walk you through these questions one at a time.
SPEAK WITH OUR TEAM
Scope this for your operation.
Discuss how Distribution Inventory Planning Agent fits your operation, the data it needs and the work required to put it into practice.