Record and audit every inbound and outbound stock change.
Stock movements are an immutable audit log of every quantity change in your inventory. Every time stock is received or dispatched, a movement record is created. This gives you a complete, chronological history of how your inventory has changed over time.
The movements list is ordered newest first, so the most recent activity is always visible at the top.
When you record a movement, the backend creates the movement record and then immediately updates the linked inventory quantity in a single request. The update uses atomic increment/decrement operations:
Navigate to Stock Movements in the sidebar. The page displays a table of all movements sorted by createdAt descending, with columns for Product, Type, Quantity, Date, and Reason.Movements are fetched with the product relation included:
Choose the product whose stock is changing from the Product dropdown. Only products in your catalog are shown.
3
Choose the movement type
Select IN if stock is being added, or OUT if stock is being removed.
4
Enter the quantity
Enter the number of units being moved. This must be a positive integer.
5
Add a reason (optional)
Describe why the stock is changing. This is stored in the reason field and appears in the movement log.
6
Submit the movement
Click Save. The movement is recorded and the linked inventory quantity is updated immediately.
Always fill in the reason field. Examples like "received from supplier", "sold to customer", or "damaged in transit" make it easy to understand your inventory history months later.