Locations
Locations are the physical places where work is done: a customer, its sites, the areas on a site and the points in an area. Inspections, tasks and forms are carried out at these places. Locations form a tree, for example “Anadolu Gıda” → “İzmir Fabrikası” → “Paketleme Alanı” (Packing Area) → “Hat 3” (Line 3).
Every company has locations, and they are used here:
- Inspections: Inspections take place at a location; the location’s auditors, responsible people, position and radius are used.
- Forms, dashboards, trainings: “People at this location” can be chosen in the audience.
- Training: A location is picked as the workplace in occupational health and safety trainings; the SGK workplace details are read from the location.
- QR labels: A label scanned on site opens the location.
Administration → Locations → Location tree. For levels, Administration → Locations → Level settings (Location levels).
At least one level must be defined before you add locations. Every company starts with four built-in levels: Customer, Site, Area, Point.
The screen layout
Section titled “The screen layout”- The tree on the left. The arrow to the left of a location opens its child locations; they load as you open them. Inactive locations show with the Inactive badge, sensitive areas with the Sensitive area badge.
- The search box: Search locations (code, name, address). Results show in a separate list; clicking one selects it.
- The selected location on the right. At the top, the chain of parent locations (for example “Anadolu Gıda / İzmir Fabrikası”), the location’s name, code, level and Your role at this location.
- At the top of the page, the New location, Import CSV and Print labels buttons (if you have the management permission).
The tabs of the selected location:
| Tab | Content |
|---|---|
| Details | Code, names, level, kind, address, position, radius, linked unit, number of child locations, sensitive area status, SGK workplace details. |
| Members | The people, positions and groups that have a role at this location (Location memberships). |
| Tags | QR and NFC tags. Visible only to people with the management permission (QR labels). |
| Documents | The site’s documents, if the Inspections module is on (Inspections). |
If there is no location you can see yet, the tree says “There is no location you can see yet.”
Who sees what
Section titled “Who sees what”- People with the location management permission see the whole tree and change it.
- People with the permission to see all locations see the whole tree but cannot change it and cannot see the tags.
- Other users see only the locations their memberships reach: with a membership that reaches child locations, that location and everything under it; with one that does not, only that location.
If you try to open a location you may not see, the message “The location was not found, or you may not see it.” appears.
Adding a location
Section titled “Adding a location”- Start:
- For a location at the top level (for example a new customer), click New location. The dialog opens with the title New location (top level).
- To add one under an existing location, select that location and click Add child location. The dialog opens as, for example, New child location: İzmir Fabrikası.
- Fill in the fields:
| Field | Required | What to enter |
|---|---|---|
| Code | Yes | A code unique in your company, for example IZM-PKT. Labels and the CSV use this code. |
| Name (Turkish) | Yes | For example “Paketleme Alanı”. |
| Name (English) | No | For example “Packing Area”. Left empty, English readers see the Turkish name. |
| Kind | No | Free text: store, kitchen, restroom, warehouse… |
| Address | No | The full address. |
| Latitude / Longitude | No | The position. Both are entered together. Latitude must be between -90 and 90, longitude between -180 and 180. |
| Radius (meters) | No | An inspection’s “on site” check uses this radius. A whole number from 1 to 100000. Needs latitude and longitude first. |
| Org unit | No | The unit responsible for the location. The unit manager’s scope and the “people at this location” audience come from here. |
| Sensitive area | No | When marked, this location and everything under it is sensitive (see below). |
- If you are on site, the Use my location button writes your browser’s position into latitude and longitude. If the browser does not give or ask for the location permission, the message “The position could not be read. Check the browser’s location permission.” appears.
- Click Create. The notice “Location created.” appears.
The level is set on its own: the top location is level 0 (Customer), the one below it level 1 (Site), and so on. If no level is defined for that depth, the message “No level is defined for this depth. Add it in Level settings first.” appears.
The org unit list needs the permission to see the organization; without it, it says the unit list could not be loaded.
Validation messages
Section titled “Validation messages”- “The code is required.” / “The Turkish name is required.”
- “Enter latitude and longitude together.”
- “Enter latitude and longitude before a radius.”
- “A location with this code already exists.”
Why the org unit link matters
Section titled “Why the org unit link matters”Employees are not linked to locations directly. When you share a form, dashboard or training with “people at this location”, Defthand takes the employees of the location’s Org unit (and its sub-units). Units linked to the location’s child locations count too. A location without a unit reaches nobody.
Example: if the “İzmir Fabrikası” location is linked to the “İzmir Fabrikası” unit, “people at the İzmir Fabrikası location” are all employees of that unit and of its sub-units such as Üretim, Paketleme and Kalite.
Editing a location
Section titled “Editing a location”- Select the location and click Edit. The dialog opens with the title Edit location: Paketleme Alanı.
- Change the fields. When editing, Name (English) is also required.
- Click Save. The notice “Location saved.” appears.
If someone else changed the same location at the same time, the message “The data changed while you were saving. Reload and try again.” appears.
Moving a location
Section titled “Moving a location”- Select the location and click Move. The dialog opens with the title Move: Paketleme Alanı and says “The location moves with its whole subtree under the place you pick.”
- Type in the Search for the new parent box and pick from the list. To make it top level, pick Top level (no parent).
- Confirm. The notice “Location moved.” appears.
A location cannot be moved under itself or one of its own child locations. The levels of moved locations change to fit their new place; a level must be defined for the new depth. Moving also changes what the sensitive area mark and the SGK workplace details inherit from above, to fit the new place.
Deactivating and activating
Section titled “Deactivating and activating”Switch off a location that is no longer used but whose history must be kept with Deactivate. The location stays in the tree with the Inactive badge. Switch it back on with Activate.
Deleting and undoing
Section titled “Deleting and undoing”- Select the location and click Delete. The Delete the location? dialog opens: “Paketleme Alanı will be deleted. Its memberships and tags are kept; you can undo right after.”
- Confirm. The notice “Paketleme Alanı deleted.” appears.
- If you deleted it by mistake, click the Undo button in the notice. The notice “Location restored.” appears.
The delete is refused when:
- The location has child locations: “The location has child locations. Move or delete them first.”
- A form, report dashboard or training (a draft or active assignment, a planned or open class session) uses the location. The error message lists these records.
Sensitive area
Section titled “Sensitive area”A location marked Sensitive area and everything under it is sensitive. During inspections and when a label is scanned, the warning “Sensitive area: mind personal data when taking photos or using the camera (KVKK).” is shown. Use it for places such as restrooms, changing rooms or an infirmary.
The Details tab shows two lines:
- Marked on this location: The location’s own mark (Yes / No).
- In effect: The result, together with what comes from above. If it comes from above, it says “inherited from a parent”.
Adding many at once
Section titled “Adding many at once”To add many locations in one go: Importing locations from CSV.