Locations¶
Locations are the places your items and assemblies can be: stores and shelves, but also vans, labs and customer sites. Every item and assembly is assigned to a location or to a user. Locations is in the sidebar. You need View only on Locations to open it, Create/Edit to create, edit, duplicate and import, and Create/Edit/Delete to delete.
Warehouse locations and other locations¶
Each location is either a warehouse location (Warehouse location ticked) or another location. A warehouse location is where you keep stock; any other location is a place stock goes to, such as a van or a customer site.
| Warehouse location | Other location | |
|---|---|---|
| Stock | Items here count as In stock when they are not in an assembly and not reserved, faulty or retired. | Items here never count as stock. |
| Adding to assemblies | Items here can be added to an assembly. | Items here cannot be added to an assembly. |
| Lot items | Lots can be kept here. | Lots cannot be kept here. |
| Due dates | Items and assemblies here have no due date. | Individual items and assemblies here can have a Due date, and show as Overdue once it passes. |
| Warehouse pickers | Offered wherever the app asks for a Warehouse location, for example when Auto create missing items creates items for an assembly. | Not offered there. |
| Filters | Counted as Warehouse location in the Items and Assemblies lists. | Counted as Other location. |
Assemblies and individual items can be assigned to either kind.
Tip
Tick Warehouse location only where you really keep stock, and make vans, labs and customer sites other locations. Then In stock and Overdue mean what they say.
The default location¶
One warehouse location is the default, set by an admin in Warehouse location for new items in System settings. The app uses it:
- as the preselected location when you create an item or an assembly,
- as the place new stock goes when you don't pick another one, for example items created for an assembly or from an invoice,
- when an item leaves an assembly and has no warehouse location to go back to,
- when a restored item or assembly has no location left to go back to,
- when the user an item or assembly is assigned to is deleted.
The default location has a star before its name in the list. It cannot be deleted. Make it the place where new stock arrives, such as your main store.
Locations in pickers¶
Wherever you pick a location, the list starts with the default location (), then the warehouse locations (), then the other locations, each group A to Z.
The list¶
The bar above the table shows Locations with the number of all locations, and Warehouse with the number of warehouse locations. Click Warehouse to show only warehouse locations, and click it again to go back. Filtered on the right is the number of rows the table shows now.
| Column | What it shows |
|---|---|
| ID | The location's number, given when it is created. Always shown. |
| Thumbnail | The location's picture. |
| Name | The location's name, after a for the default location and a for a warehouse location. |
| Warehouse | Yes for a warehouse location, No for any other location. |
| Address | The location's address. |
| Latitude, Longitude | The location's coordinates. Hidden until you tick them in Show columns. |
| Created on, Created by | When and by whom it was created. |
| Edited on, Edited by | When and by whom it was last changed. |
| Custom fields | One column per custom field, hidden until you tick it in Show columns. |
The table has the usual controls, explained in Tables:
- Search rows... finds locations by name, address, note or custom field value, but not by coordinates.
- Filter rows narrows by Warehouse (Yes or No), by Created on and Edited on date ranges, and by custom field values.
- Show columns picks the columns.
- Import reads new locations from a CSV file (see Import).
- Export filtered rows downloads the rows that match as a CSV file.
On the right of the toolbar:
- Edit custom fields opens the custom fields every location has (see Custom fields).
- Edit default thumbnail sets the picture a new location starts with (see Records).
- New location opens the form for a new location.
Click a row to open the location. Each row also has three buttons:
- Show on map opens the location's Stock & Map tab. While maps are off in System settings, the button is called Stock.
- Duplicate opens New location filled in from this one.
- Delete deletes the location. It is greyed out for the default location and while the location is in use (see Deleting a location).
The list has no row selection and no bulk actions.
New location¶
- Click New location.
- Type a Name.
- Untick Warehouse location if you won't keep stock there.
- Optionally fill in the Address, or the Latitude and Longitude, so the location can be shown on a map.
- Optionally pick a Thumbnail, write a Note and fill in the custom fields.
- Click Save.
The new location opens on its Overview tab.
| Field | What it does |
|---|---|
| Name * | The location's name, up to 200 characters. It must be unique among locations, ignoring upper and lower case, and it cannot be an email address. |
| Thumbnail | A picture shown in tables and on the record. A new location starts with the list's default thumbnail, if one is set. |
| Warehouse location | Ticked: a place where you keep stock (see Warehouse locations and other locations). Ticked for a new location. |
| Address | The address, up to 300 characters. Search finds it. When the coordinates are blank, the map looks it up to place its pin. |
| Latitude | The north-south coordinate in decimal degrees, such as 48.312, with up to 6 decimal places. |
| Longitude | The east-west coordinate in decimal degrees, such as 18.064, with up to 6 decimal places. With Latitude filled too, it places the map pin, and the address is not looked up. |
| Note | Free text, such as how to get in. Search finds it. |
| Custom fields | One field per custom field set with Edit custom fields. |
Duplicate fills the form with the name plus "(copy)", the thumbnail, Warehouse location and the note. Address, coordinates and custom fields start empty.
The location record¶
A location has the record tabs every record has, Overview, Edit, History, Gallery and Files, plus Stock & Map. The shared tabs work as described in Records.
The Overview tab shows the Name, Warehouse location (Yes or No), Address, Latitude, Longitude, Created on, Created by, Edited on, Edited by, the Note and the custom fields, with the thumbnail beside them. Its Delete and Duplicate buttons work as the row buttons do.
The History tab also lists every item and assembly assigned to the location or moved away from it.
Stock & Map¶
The Stock & Map tab shows where the location is and everything at it. While Enable location maps is off in System settings, the tab is called Stock and shows only the table.
The map¶
The map shows a pin where the location is:
- When both Latitude and Longitude are filled, the pin goes there.
- Otherwise, when Address is filled, the address is looked up and the pin goes where it was found.
- When neither is filled, there is no map, only the table.
Tip
For a site with a vague address, such as a quarry or a ski lift, fill in the coordinates: the pin lands exactly there, whatever the address says.
The box in the corner shows the pin's coordinates and the address. When the pin comes from coordinates and Address is blank, the box shows the address found at those coordinates. Nothing found by a lookup is saved to the location.
To move around the map, drag it, or scroll to zoom. The buttons on the left zoom in (), zoom out () and bring the pin back to the middle ( Center map).
When the address gives no pin, the box says why:
- This address was not found on the map. The lookup service does not know the address. Correct it, or fill in the coordinates.
- The address lookup failed. Try again later. The lookup service could not be reached. Click Try again to ask again now. Otherwise the app asks again when you open the tab 5 minutes or more later.
When the map pictures cannot be loaded, the box says The map images could not be loaded. Nothing stored on this location is affected.
What leaves your server
The map pictures come from OpenStreetMap, and the map is drawn with Leaflet. Your browser loads the pictures directly from OpenStreetMap. The address lookup is made by the JAI Tool server when someone opens the tab: it sends the location's address, or its coordinates when Address is blank, to OpenStreetMap's Nominatim service. A found address is remembered until the location's address changes, so it is not asked for again. With Enable location maps off, nothing is sent. The server's administrator can also turn off the lookups or the map pictures, or use other services, in the server's settings (see Install).
The stock table¶
The table below the map lists everything at the location:
- the individual and lot items assigned to it that are not in an assembly,
- the assemblies assigned to it,
- the individual items inside those assemblies.
It lists items only if you can view Items, and assemblies only if you can view Assemblies. It starts sorted by ID, highest first.
| Column | What it shows |
|---|---|
| ID | The item's or assembly's number. Always shown. |
| Thumbnail | Its picture. |
| Name | Its name, after an icon: individual item, lot item, assembly. |
| Quantity | For a lot, the amount and unit. N/A for anything else. |
| Blueprint | Its blueprint, as a link. |
| Category | Its blueprint's category, as a link. N/A for an assembly. |
| Customer | Its customer, as a link. A marks a customer the item takes from its assembly. |
| In assembly | The assembly the item is in. |
| Assigned to | This location. A marks an item that is here through its assembly. |
| Assigned on, Assigned by | When and by whom it was assigned. |
| Created on, Created by, Edited on, Edited by | When and by whom it was created and last changed. |
Click a row to open the item or assembly. The table has Search rows..., Filter rows (date ranges for Assigned on, Created on and Edited on), Show columns and Export filtered rows, as explained in Tables.
Where locations are used¶
- Items: an individual item is assigned to a location or a user, and a lot item to a warehouse location. See Items.
- Assemblies: an assembly is assigned to a location or a user, and the items inside it are where the assembly is. See Assemblies.
- When an item leaves an assembly, it goes back to the warehouse location it came from, or to the default location if that one is deleted or no longer a warehouse location.
Deleting a location¶
You can delete a location only while no item or assembly is assigned to it, and only if it is not the default location. Until then, Delete is greyed out in the list and on the record. To empty a location, move what is there elsewhere, for example with Assign multiple in the Items and Assemblies lists (see Tables). To delete the default location, first make another warehouse location the default in System settings.
A deleted location goes to Restore deleted, where an admin can bring it back.
Custom fields¶
Edit custom fields opens the list of extra fields every location has, such as access notes or whether a key is needed. They appear on the form and the Overview tab, as hidden columns in the list, and in Filter rows. See Custom fields.
Import¶
Import creates locations from a CSV file. In the Import window, Select template picks what the file holds:
- Locations: one new location per row.
- Custom fields: the custom field definitions of the list (see Custom fields).
The Locations template has these columns:
| Column | What it takes |
|---|---|
name * |
The location's name. It must be unique, and it cannot be an email address. |
warehouse |
true or false. Blank means true. |
address |
The address. |
latitude |
A number in decimal degrees. |
longitude |
A number in decimal degrees. |
note |
Free text. |
cf_... |
One column per custom field. A checkbox field takes true/false, a date field a date in the app's date format, a dropdown or radio field one of its options. |
The import only creates locations. A row whose name is already taken is refused. How files are read and how errors are reported is explained in Import from CSV.
Other imports name locations by their name, for example in the assigned_to column of items and assemblies, where an email address means a user.
That is why a location's name cannot be an email address.

