BRD-019 — Warehouse Stock Entry: Auditable Movement Recording & Approval Control
| Metadata | Details |
|---|---|
| Project Name | Warehouse Stock Entry — Auditable Movement Recording & Approval Control |
| Document ID | BRD-2026-INV-002 |
| Author | Product Management & Engineering Leadership |
| Target Date | Q4 2026 |
| Status | Approved |
1. Executive Summary & Business Goal
Every unit of stock the business sells has to come from somewhere, and every count it shows a customer has to be trustworthy. Stock arrives as new purchases, comes back as returns, gets corrected after a physical floor count, gets written off as lost or damaged, or gets set up for the first time when a warehouse starts carrying a product. Each of those moments changes how much of something the business actually has — and each one needs to be written down permanently, accurately, and in a way nobody can quietly alter afterward. For the movements that carry the most risk of an honest mistake or a deliberate one, a second person must look at it and agree before it’s allowed to change the count everyone else relies on.
Business Objective
Give Operations a single, reliable way to record any warehouse stock movement with full traceability of who entered it, what it changed, and when. Give Finance and Compliance confidence that the resulting history of stock movements can never be edited or erased after the fact. Give the business a deliberate checkpoint — a second person’s sign-off — before a movement that was flagged as needing one is allowed to actually change stock on hand.
Relationship to Concurrent-Demand Stock Integrity
BRD-018 guarantees that when customers race for the same stock at checkout, exactly one of them wins. This document is about a different moment entirely: how that stock’s count got to be what it was in the first place, and how Operations staff record every change to it outside of a customer purchase. The two share the same underlying running balance for an item — a purchase recorded here and a sale consumed at checkout both move the same number — but this document is about the administrative act of recording a movement and getting it approved, not about contention between customers.
2. Target Users & Stakeholders
- Warehouse & Operations Staff: Need a straightforward way to record every stock movement they’re responsible for — receiving new stock, processing a return, correcting a count after a physical stock-take, writing off lost or damaged stock — without needing to understand how the count is stored underneath.
- Supervisors / Approvers: Need to review a movement flagged as requiring sign-off before it’s allowed to actually change stock on hand, and the ability to decline it instead.
- Finance & Compliance: Need an absolute guarantee that the history of stock movements, once recorded, can never be edited or deleted — the same non-negotiable guarantee already given for payment records.
- Customer-Facing Teams & Customers: Need the “in stock” count shown anywhere in the business to be backed by an accurate, correctly-approved history — never a count that silently drifted from what was actually recorded.
- Engineering: Needs one single place that actually changes a stock count, so every movement — however it was recorded — gets the same correctness guarantees.
3. Scope of Work
In-Scope
- Recording every warehouse stock movement — new stock received, stock returned, a floor-count correction, initial stock setup for a newly-carried product, stock lost, stock damaged — as its own transaction, naming exactly which items were affected and by how much.
- Keeping a permanent, unchangeable history of every recorded movement and the exact before/after count it produced for each affected item — never edited or deleted after the fact, for any reason.
- Requiring a second person’s review and explicit approval before a movement that was flagged as needing it is allowed to actually change stock on hand — with the ability to decline a movement instead of approving it.
- Letting staff correct a movement they recorded, for as long as it hasn’t yet been approved or declined.
- Letting staff quickly start a new movement based on a previous one, rather than re-entering everything from scratch.
- Giving every movement full traceability: who recorded it, who approved or declined it, and when.
Out-of-Scope
- Setting stock aside for a customer’s order at checkout, and permanently deducting it once that order succeeds — covered by BRD-013 and BRD-018, which this document’s movements share a running balance with but does not restate.
- A fast-reject layer for an unusually large, simultaneous burst of customer orders against the same item — BRD-018/Technical Debt — TD-00013 scope, not this document’s.
- Automatically setting up a product’s initial stock the moment it goes live for sale, with no manual action required — today this still requires Operations to deliberately trigger it; making that automatic is future scope.
- A reporting or analytics dashboard built on top of the movement history — the history is recorded accurately, but a queryable report on top of it is future scope.
- Who, specifically, is allowed to approve a flagged movement (a role or permission rule) — naming that control is future scope; today the requirement is only that a flagged movement waits for a distinct approval action to occur.
4. High-Level Business Requirements
| ID | Business Goal / Feature | Business Need & Impact | Priority |
|---|---|---|---|
| BR-01 | Every Stock Movement Has a Permanent, Unchangeable History | Once a movement has taken effect, the record of it and the exact count it produced must never be editable or deletable, by anyone, for any reason — Finance and Compliance need this to be an absolute guarantee, not a convention staff are simply asked to follow. | P0 |
| BR-02 | Flagged Movements Wait for a Second Person’s Approval | A movement flagged as requiring review must not change stock on hand until a second person explicitly approves it — and that second person must also be able to decline it, in which case stock on hand is never touched. | P0 |
| BR-03 | An Unapproved Movement Can Still Be Corrected or Withdrawn | Staff must be able to fix a mistake in a movement they recorded, or decide not to proceed with it, for as long as it hasn’t yet been approved or declined — correcting an honest error shouldn’t require starting over from nothing. | P1 |
| BR-04 | Every Affected Item Keeps an Accurate, Auditable Running Count | At any point, it must be possible to see exactly what an item’s count was before and after any approved movement — the running count must always be reconstructable from its own history, never just trusted at face value. | P0 |
| BR-05 | Staff Can Start a New Movement From a Previous One | A common, repeated kind of movement (e.g. a regular purchase from the same supplier) should be quick to re-enter by starting from a past one, rather than typed from scratch every time. | P2 |
| BR-06 | Full Traceability of Who Recorded and Who Approved Every Movement | Every movement must be traceable to the specific person who recorded it and, if applicable, the specific person who approved or declined it — supporting both day-to-day accountability and after-the-fact audit. | P1 |
5. Success Metrics & KPIs
- Zero post-recording edits: no instance, ever, of an already-approved stock movement’s record or resulting count being altered or removed.
- 100% approval compliance: every movement flagged as requiring approval sits in a waiting state until a distinct approval or decline action is taken — zero flagged movements that changed stock on hand without one.
- Reconstructable balance: for any item, the running count derived by replaying its full movement history always matches the count the business is actually showing elsewhere.
- Correction turnaround: time for staff to fix a mistake in an unapproved movement, or to start a new movement from a similar past one, stays materially faster than re-entering from scratch.
Related Documents
- BRD-018 — Concurrent Demand: Stock Integrity Under Simultaneous Orders and the Scaling Decision — the checkout-side contention guarantees that share this document’s underlying running balance, without restating it
- BRD-013 — Checkout Completion: Real Payment Capture and Reliable Fulfillment Handoff — the reserve-then-consume sequencing this document’s movements feed into
- BRD-016 — Payment Transaction Ledger, Refund Guarantee & Data Security — the platform’s other permanent, unchangeable financial/operational record, same non-negotiable guarantee applied to a different domain
- BRD-020 — Warehouse Stock Entry: Administration Console — the staff/supervisor-facing console built on top of this document’s guarantees
- SR-020 — Warehouse Stock Entry: Ledger & Approval Control System Requirements
- ADR-00036 — Deferred, Approval-Gated Balance Mutation and a Database-Enforced Immutable Ledger for Stock Entry
- Architecture — Warehouse Stock Entry: Creation, Approval-Gated Balance Mutation, and Immutable Ledger
- Technical Debt — Warehouse Stock Entry Gaps
- Microservices: inventory-service