Appbricx
Features

Build

  • Coding agents and MCP
  • UI components and hooks
  • Templates
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Organisations and teams
  • Payments

Logic

  • Workflows and jobs
  • Server functions and webhooks
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
All features
ShowcaseTemplatesIntegrationsPricingDocs
Log inStart free
  • Features
  • Showcase
  • Templates
  • Integrations
  • Pricing
  • Docs
  • Log in

Build

  • Coding agents and MCP
  • UI components and hooks
  • Templates
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Organisations and teams
  • Payments

Logic

  • Workflows and jobs
  • Server functions and webhooks
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
  1. Home
  2. Templates
  3. Apps
  4. Inventory and stock control

Inventory and stock control

Stock control for a business with more than one place to keep things: a warehouse, a shop, a van. Every change is a movement in an append-only ledger (receive, issue, transfer, count, write off); rules refuse a movement that would take a site below zero, and the ledger is replayed in time order so two clerks working at once can't overdraw it either. Each site's balance and each item's total update from the ledger. When an item reaches its reorder point an alert is raised and added to its supplier's draft purchase order; sending the order emails the supplier, and marking it received books the stock in. Clerks work at their own site only: a quick site view to record movements, the ledger, items and incoming orders. Managers run items, sites, suppliers and orders, with a daily low-stock email.

Managers run items, sites, suppliers and purchase orders; clerks record movements at their own site and receive orders delivered there.

Use in AppbricxFree. Already have an account? Log in
View the files
Inventory and stock control on desktopInventory and stock control on a phone
  • Inventory and stock control on desktopDesktop
  • Inventory and stock control on a phonePhone
  • Inventory and stock control sign-in screenSign-in
  • Inventory and stock control sign-in on a phoneSign-in on a phone

What's inside

Overview: low and out-of-stock items, open alerts, orders on the way, latest movements. SiteStock: one site's stock with quick receive, issue, transfer, count and write-off. Movements ledger with filters, items with per-site balances and history. Reorder alerts board and purchase orders with lines. Sites, suppliers, clerks, managers, team and access.

Tables

  • manager name, email, focus
  • clerk name, email, location_id, shift, grade
  • location name, code, kind, temperature, address
  • supplier name, email, contact_name, phone, terms, order_via, lead_time_days, notes
  • item sku, name, category, unit, supplier_id, unit_cost, reorder_point, reorder_qty, …
  • stock item_id, location_id, quantity, bin
  • movement item_id, kind, quantity, from_location_id, to_location_id, reason, reference, note, …
  • purchase_order number, supplier_id, location_id, status, expected_on, total, note, sent_at, …
  • po_line po_id, item_id, quantity, unit_cost, received_qty, description
  • reorder_alert item_id, item_name, status, on_hand, reorder_point, po_id, note, raised_by

Roles

  • manager Manager, staff
  • clerk Clerk, staff

Pages

  • /overview Overview (manager)
  • /site Site stock (manager, clerk)
  • /movements Movements (manager, clerk)
  • /items Items (manager, clerk)
  • /items/:id Item (manager, clerk)
  • /alerts Reorder alerts (manager, clerk)
  • /purchase-orders Purchase orders (manager, clerk)
  • /purchase-orders/:id Purchase order (manager, clerk)
  • /order-lines Order lines (manager)
  • /stock Stock lines (manager)
  • /locations Sites (manager)
  • /suppliers Suppliers (manager)
  • and 3 more

Components

  • SiteStock One site's stock with quick receive, issue, transfer, count and write-off; a clerk sees their own site, a manager picks one

Rules on every write

  • item Check the item
  • stock Stock changes through movements
  • movement This movement can't be recorded
  • purchase_order This order can't change that way
  • po_line Lines change on draft orders only
  • reorder_alert Already flagged

How its workflows run

Each one is a server workflow in your project: it runs on its trigger, with retries, and its runs show in the builder's log.

  1. Post a movement to the stock ledger

    When a row changes: movement created. Then: Look up item, then Update movement, then Create stock, then Notify, then Look up item, then Update item, then Create reorder_alert.

  2. Add a reorder alert to the supplier's draft order

    When a row changes: reorder_alert created. Then: Look up item, then Notify, then Send email, then Create purchase_order, then Update reorder_alert.

  3. Number a new purchase order

    When a row changes: purchase_order created. Then: Look up purchase_order, then Update purchase_order.

  4. Price a new order line and total the order

    When a row changes: po_line created. Then: Look up purchase_order, then Update po_line.

  5. Re-total an order when a line changes

    When a row changes: po_line updated. Then: Look up purchase_order, then Update po_line.

  6. Email the supplier a sent order

    When a row changes: purchase_order updated, when status is sent. Then: Look up supplier, then Update purchase_order, then Send email.

  7. Book a received order into stock

    When a row changes: purchase_order updated, when status is received. Then: Look up po_line, then Create movement, then Update po_line, then Notify.

  8. Reopen alerts when an order is cancelled

    When a row changes: purchase_order updated, when status is cancelled. Then: Look up reorder_alert, then Update reorder_alert, then Notify.

  9. Morning low-stock list for managers

    On a schedule: schedule daily 07:00 over item. Then: Look up item, then Send email.

  10. Weekly movement summary

    On a schedule: schedule weekly mon 08:00 over movement. Then: Send email.

Set it up

It starts a new project, with its data, roles and sign-in ready.

  1. Start the project

    Use the button above, or ask your coding agent with the Appbricx MCP server connected (quickstart).

  2. Sign in as each role

    The demo logins open each role's home. Change what you like in plain words or in the contract.

  3. Deploy

    When dev looks right, deploy. Production gets a snapshot first, so you can roll back.

Use it with your coding agent

The agent creates the project, builds it and signs in as each role.

Prompt
Start a new Appbricx project from the Inventory and stock control template (slug "inventory") with use_template. Call it "My Inventory and stock control", then sign in as each role, verify it and tell me what to change first.
MCP call
{
  "tool": "use_template",
  "arguments": {
    "slug": "inventory",
    "name": "My Inventory and stock control"
  }
}
CLI
appbricx templates use inventory --name "My Inventory and stock control"
Kind
App
Category
Operations and internal tools
Version
1.0.0
Files
templates/inventory
Published by
Appbricx, free

Goes well with

  • Approvals

    Internal approvals: purchase, expense, travel, software and contract requests routed through multi-step approval chains by policy, with delegation, escalation and a full audit trail.

    App · Operations and internal tools
  • Studio Bookings

    Class booking for a yoga and pilates studio: members book in two taps, instructors run the schedule.

    App · Bookings and scheduling · Live demo
  • Tablefor

    Restaurant reservations with a host floor plan and a live kitchen board.

    App · Hospitality and travel · Live demo

Make it yours in plain words.

Start freeAll templates
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPUI components and hooksTemplatesVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authOrganisations and teamsPaymentsWorkflows and jobsServer functions and webhooksAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcaseTemplatesIntegrationsPricingFor coding agentsSelf-hostBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use