Inventory and supply chain ยท Technical detail

Architecture, APIs, data flow and security.

Phoenix plugins with their own schemas, settings and permission keys. Screens read a scoped snapshot; every write is a decision that passes a server policy, applies plugin effects, writes a chained audit event and refreshes KPIs.

8plugin modules
21server engines
99screens, 3 shells
366engine test vectors
Warehouse floor dashboard. Carrier cut-offs, waves, pick accuracy and dock-to-stock for the shift. Example figures.

Deterministic core

  • Engines compute every quantity, date and amount
  • Intermediates stored for the explain views

AI on top, optional

  • AI suggests through recommendations and approvals
  • Global AI-off; every workflow still runs

ERP stays the record

  • Items, cost and ledger stay in the ERP
  • Mock connectors first, live per environment

Technology stack

Backend.NET 10, Phoenix pipelines with hooks, EF Core
FrontendReact 19, React Router 8, Tailwind 4, Vite 7; server-rendered on Node 22
DatabasePostgreSQL 16 or SQL Server; a schema per module (cc, inv, wms, ful, plan, pur, cash, agent)
SupportingRedis cache, Elasticsearch search, PDF document service
ModulesCommandCenter, Inventory, WarehouseOps, Fulfillment, Planning, Purchasing, CashFlow, AgentCore
ReusedWarehouses, sales orders, Payments, shipping stations and devices, Clarity Connect
Inventory Hub ยท Clarity VenturesPage 1 of 5
Architecture

Layers and connectors

CLIENTSEDGEAPPLICATIONDATAAdmin workspaceReact 19 ยท 90 screensTablet kioskoffline write queueVendor portalvendor-scoped shellPhone layoutsexec, CFO, sales viewsReverse proxy ยท one HTTPS port ยท sign-in wallCSP and frame headers ยท same-origin checks on cookie writes ยท session authREST API (.NET 10)/cc/tenant-snapshot/cc/decisions ยท undo/cc/engines/* (21)Decision pipelineKeys ยท approver stepSoD ยท dual controlPlugin effectsAudit and KPIsChained audit events32 live KPI formulasSnapshot cacheAgentCoreRecommendationsAutonomy L0โ€“L4Guardrails ยท AI offPostgreSQLor SQL ServerRediscache and sessionsElasticsearchsearch indexDocument servicePDF renderingCONNECTORSERPService Layer ยท RESTEDI X12AS2 ยท SFTPPayment Hubpay linksCarriersshipping stationsAI modelsmodel profiles
Data flow

The life of a decision

Undo is DELETE /cc/decisions/{id}: the effect reverts and the undo is audited too.

1Person actsapprove, pick, releaseon a screen or tablet2POST /cc/decisionsid, status, note;session or signed link3Decision policykeys, approver step,SoD, dual control, scope4Plugin effectsrows change in themodule tables5Audit eventSHA-256 chained tothe previous event6KPIs and snapshotrecomputed; screenssee the changeRefused: 403 and the reasonConnector outbox: ERP posting when enabled
Explain ledger. Engine intermediates stored and shown step by step.
MethodPathPurpose
GET/cc/tenant-snapshotScoped read model (cached, per caller)
GET/cc/meRoles and permission keys of the caller
POST/cc/decisionsRecord a decision; policy-checked
DELETE/cc/decisions/{id}Undo; the effect reverts
POST/cc/assignmentsAssign work (DELETE to unassign)
POST/cc/agent-controlsSet the autonomy level of an agent
GET/cc/engines/{engine}21 engines: ATP, FEFO, landed cost
POST/cc/vp/linksIssue signed vendor links
Inventory Hub ยท Clarity VenturesPage 2 of 5
Feature matrix

Command Center, inventory and warehouse

57 features; category = module

FeatureWhat it doesCategory / benefit
Command Center
Role homes and cockpits
Per-role home; tiles read the scoped tenant snapshotCommandCenter
Morning brief
MorningBrief rows; AI-labelled wording, numbers from rowsCommandCenter
Exception inbox
OpsException rows; server-side badge countsCommandCenter
KPI catalog
KpiDefinition/KpiValue; 32 formulas recomputed liveCommandCenter
Search, alerts, shortcuts
Top bar; search results filtered by role keysCommandCenter
Reports and CSV export
Report library screen; CSV export on data tablesCommandCenter
Inventory
Items and availability
Item 360 and availability via the ATP engineInventory
Layout and bins
BinLocation entity and layout screenInventory
Lots, serials and expiry
Lot and serial rows; MRSL and FEFO enginesInventory
Recall trace
LotTrace read model; holds and notices auditedInventory
Adjustments and transfers
inv.adjustment and inv.transfer decision familiesInventory
Kits and bundles
Kit build effects write build plansInventory
GS1 barcode parsing
GS1 parser engine at /cc/engines/gs1Inventory
Warehouse
Floor dashboard
Floor KPIs from task and wave rowsWarehouseOps
Inbound and receiving
Receipts and lines; vendor ship notices feed the boardWarehouseOps
Wave planner
Wave release decision creates the waveWarehouseOps
Tasks and labour
WarehouseTask rows; /cc/assignments APIWarehouseOps
Cycle counts
Count tolerance engine and count approvalsWarehouseOps
Returns and RMA
Return execute and disposition permission keysWarehouseOps
Dangerous goods desk
DG rules and checks enforced at packWarehouseOps
Slotting advisor
Slotting suggestions recorded as decisionsWarehouseOps
Stations and devices
Reuses shipping-hub stations and edge devicesWarehouseOps
Warehouse tablet app
Kiosk shell; device queue replays on reconnectWarehouseOps
Tablet kiosk. Device writes queue and replay in order on reconnect.
Recall trace. LotTrace read model; holds and notices audited.
Inventory Hub ยท Clarity VenturesPage 3 of 5
Feature matrix

Orders, planning, purchasing and finance

FeatureWhat it doesCategory / benefit
Orders
Order board and backorders
Platform sales orders; holds reference themFulfillment
Typed hold queues
Typed OrderHold and HoldRelease rowsFulfillment
Pay-to-release
Payment Hub pay links; AllowPayToRelease settingFulfillment
Availability and promise
ATP engine at /cc/engines/atpFulfillment
Sourcing and channels
Sourcing pipeline at /cc/engines/sourcingFulfillment
Planning
Forecast workbench
Forecast versions and values; override writesPlanning
Events and new products
Planning event effects write eventsPlanning
Buy list
Accepted lines become POs that route to approvalPlanning
Explain ledger
Engines store each intermediate valuePlanning
Container builder
Container engine at /cc/engines/containerPlanning
Deployment and excess
Deployment and excess recommendationsPlanning
Scenarios and expansion
Scenario sign-off decisions; expansion scenariosPlanning
Inventory policies
InventoryPolicy and PlanningParameter rowsPlanning
Pricing and markdown
PriceRecommendation and MarkdownPlan rowsPlanning
Purchasing
POs and approval routing
Approval-route engine; step approver and SoD enforcedPurchasing
Vendor 360 and lead times
Lead-time statistics enginePurchasing
Vendor inbox
Message threads and PO change proposalsPurchasing
Negotiations and RFQs
Negotiation sessions; offer evaluation enginePurchasing
Three-way match
Invoice match engine at /cc/engines/invoice-matchPurchasing
Vendor portal
Vendor-scoped shell; EDI 855 codes; signed linksPurchasing
Finance
13-week cash forecast
Cash roll-forward engine; weekly forecast rowsCashFlow
Landed cost, FX, open-to-buy
Landed cost engine; open-to-buy feeds approvalsCashFlow
Working capital
Optimizer decisions and working-capital KPIsCashFlow
Approval queue. Route engine output: tier rules, overlays, steps.
13-week cash. Roll-forward engine with scenario toggles.
Inventory Hub ยท Clarity VenturesPage 4 of 5
Feature matrix

AI and governance

FeatureWhat it doesCategory / benefit
AI & governance
Governed AI suggestions
Recommendation rows; approver roles enforcedAgentCore
Agents and autonomy
Autonomy engine with probation and rollbackAgentCore
AI Center and run trace
Agent runs, guardrail events, evaluation screensAgentCore
Copilot and AI-off switch
Copilot drawer; server AI-off flagAgentCore
Roles and permissions
Permission catalog; 403 on refusal; SoD rulesCommandCenter
Approval matrix
ApprovalPolicy rows read by the route engineCommandCenter
Settings with dual control
Approval by a different admin requiredCommandCenter
Chained audit log
AuditEvent with SHA-256 PrevHash and HashCommandCenter
Integrations and sync health
Clarity Connect connectors; health screenCommandCenter
Onboarding templates
Template apply recorded and auditedCommandCenter
Row-level scoping
Read model projected per callerCommandCenter
Security and governance

Enforced on the server, recorded in the audit chain

Authorisation

  • Permission keys per role and action
  • Unmapped or unheld keys get 403
  • Approver must hold the current step

Duties and scoping

  • SoD blocks conflicting role grants
  • Dual control: settings, bank changes
  • Vendor, 3PL and operator scoping

Audit and AI

  • SHA-256 chained audit events
  • Autonomy L0โ€“L4, probation, kill switch
  • Global AI-off; engines still run

Sync and integrations

ERPClarity Connect: SAP Business One Service Layer, Epicor P21, QuickBooks Configurable
ERP mappingItems, balances, POs, receipts, landed cost per ERP Proposed configuration
EDI X12850, 855, 856, 846, 810, 997 over AS2 or SFTP Configurable
PaymentsPayment Hub pay links; capture auto-releases the hold Configurable
Vendor portal PO. Line responses recorded with EDI 855 codes.

Hosting

  • Containers behind one HTTPS port
  • Data services on an internal network
  • Mock mode first; hosting agreed per customer

See Inventory Hub in action

Review the decision API, connector plan and security model with our architects.

Talk to Clarity Ventures about a guided demo
Inventory Hub ยท Clarity VenturesPage 5 of 5