High-level business logic, data flows, and system design for SeplorX. Use when needing context on how modules interact, the role of companies, or the overall architecture.
40:T833,
SeplorX is a shipping and logistics management portal that acts as a central hub for integrating third-party shipping APIs, e-commerce channels, and managing business operations.
SeplorX follows a strictly tiered architecture with a strong decoupling of data fetching (DAL) from business mutations (Server Actions) and the UI layer.
AI Agents in SeplorX are read-only reasoning engines.
agent_actions table.SeplorX organizes data around the following business entities:
graph TD
Company[Company: Supplier/Customer] -->|sells| Product[Product Catalog]
Company -->|issues| Invoice[Purchase Invoice]
Invoice -->|has| Item[Line Items]
Item -->|links| Product
Invoice -->|triggers| STOCK[Stock Adjustment]
STOCK -->|logs| Transaction[Inventory Transactions]
Transaction -->|updates| CachedQty[Quantity on Hand]
Invoice -->|receives| Payment[Payments]
channel_product_changelog) and pushed to marketplaces using a minimal "latest wins" delta merge logic.