Skip to main content

Sales

The Sales module is the other side of purchases: what you sell. Customers, sales orders, and their line items.

Orders and customers

A sales order belongs to a customer and lists what they're buying. Line items link to the inventory parts being sold, so an order is tied to the actual stock it draws from.

Fulfil and decrement

Fulfilling an order takes the sold parts out of stock, so the loop closes itself: sell, fulfil, stock drops, and the low-stock view tells you what to reorder. It's built for makers and small shops selling finished goods, sitting on the same inventory that Purchases and Builds feed.

Customers are records: each one shows its orders and history. Fulfilment is the step that touches stock: fulfil an order and the sold items decrement, so inventory reflects what actually left. Orders can also be created programmatically through an action, which is the hook for a storefront.