Replenishment Agent
Watches stock against reorder points and raises replenishment requests. Above the value limit a planner approves first.
For inventory and replenishment 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
A replenishment request with quantity, need-by date and the evidence for ordering.
Outcome to measure
Stockouts
Agree the baseline and target for your operation.What it does
When it starts
Available stock plus open receipts dropped below the reorder point.
The decision it supports
Watches stock against reorder points and raises replenishment requests. Above the value limit a planner approves first.
The output
A replenishment request with quantity, need-by date and the evidence for ordering.
Data and services it needs 3 lookups
- Inventory Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCInventory
- Planning Parameter Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCPlanningParameter
- Demand History Lookup
- Read-only information supplied by this configured lookup.Source: dbo.SCDemandHistory
Operating rules and checks 10 rules
- Planners own planning parameters
- Requests above the value limit need planner approval
- One open request per item and site at a time
- Must check open receipts before raising a request
- Must respect minimum order quantity and lot size
- Must never change a planning parameter
- Must never raise a second request for an item and site that has one open
- 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
SKU-7421 at DC-1: available 120 plus open receipts 0 is below the reorder point 300.
Inventory Lookup and Planning Parameter Lookup: minimum order 250, lot size 50, lead time 10 days; standard cost $19.
Agent output
create-replenishment-request for 500 units ($9,500), below the $25,000 limit: released to purchasing.
Human decision
None needed; above the limit a planner approves.
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.
Stockouts
Item and site combinations with zero available stock.
Data needed: dbo.SCInventory, kept as a daily snapshot history (the staging table holds only the current position)Fill rate
Share of demand met from stock on hand.
Data needed: shipment lines with the quantity shipped from stock against the quantity demanded (not in the staging tables)Items below reorder point without a request
Items below the reorder point that have no open request or receipt: should be zero.
Data needed: dbo.SCInventory, kept as a daily snapshot history (the staging table holds only the current position)Replenishment requests raised
Number and value of requests raised.
Data needed: dbo.SCAuditLog.parameters_json (qty, sku, site) joined to dbo.SCInventory.std_costEmergency orders
Orders placed by people outside the normal replenishment because stock ran out.
Data needed: an emergency flag on purchase orders placed outside replenishment (not in the staging tables)Your 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
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
- changed approval trace (S1)
- 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 Replenishment 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 Replenishment Agent fits your operation, the data it needs and the work required to put it into practice.