App. Docs
Location
Locations are mainly used as filters and are associated to stocks. They can also hold contact details like phone, email and address.
Setup
- Go to Settings → Locations and create a new Location.
 - Give the location a clear name (e.g., Main Warehouse, Store #12).
 - Optionally add contact details like email, phone number, and address.
 - Assign stocks to this location via the stock edit page or during stock adjustments.
 - Use location filters on inventory and movement pages to limit results.
 
Tip
Use color to visually distinguish locations in inventory tables and reports.
Attributes
location.model.prisma
1model Location {
2  id                 String          @id() @default(dbgenerated("gen_random_uuid()")) @db.Uuid()
3  modifiedAt         DateTime?       @updatedAt()
4  modifiedById       String?         @db.Uuid()
5  modifiedByEmail    String?
6  modifiedByEndpoint String?
7  companyId          String          @db.Uuid()
8  company            Company         @relation("assetOfCompany", fields: [companyId], references: [id], onDelete: Cascade)
9  name               String
10  address            Json?
11  contactEmail       String?
12  contactNumber      String?
13  colour             String?
14  stocks             Stock[]
15  purchaseOrders     PurchaseOrder[]
16
17  @@unique([companyId, id])
18  @@index([companyId])
19}Usage
Filtering
Filter inventory, movements, and orders by location to focus on a specific site.
Stock Association
Stocks belong to a location, enabling per-site stock counts and replenishment.
Contact Details
Store phone, email, and address to help teams coordinate with each location.
Color Coding
Use the colour field to color-code locations for quick identification.