> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Inventory Locations

> Manage storage locations for inventory at /fm/inventory/locations, with filtering by location type and the ability to add, edit, or deactivate locations.

This screen lists and manages inventory storage locations and is available at `/fm/inventory/locations`.

## Overview

The Inventory Locations page loads active locations (`is_active: true`) via `useInventoryLocationList`. Users can search by text and filter by location type using `LOCATION_TYPE_LABELS`. The `InventoryLocationTable` supports edit and deactivate actions per row. Deactivation requires confirmation via `ConfirmationDialog` — the dialog message warns that the location will no longer be available for inventory storage. A **Back** button returns to `/fm/inventory`.

## Who it's for

Requires permission `fm.dashboard.view`. Adding and editing locations requires `fm.inventory.edit` (confirm with SME).

## Before you start

* Hold `fm.dashboard.view`.
* Locations that have existing inventory quantities cannot be deactivated until stock is transferred (confirm with SME).

## Steps

<Steps>
  <Step title="Open Inventory Locations">From the Inventory page, click **Locations** in the header, or navigate to `/fm/inventory/locations`.</Step>
  <Step title="Filter locations">Use the search bar to find locations by name, or use the Type dropdown to filter by location type.</Step>
  <Step title="Add a location">Click **Add Location** to open `InventoryLocationFormDialog`; fill in the location name and type.</Step>
  <Step title="Edit a location">Click the edit action on a row to open the edit dialog pre-populated with the current location data.</Step>
  <Step title="Deactivate a location">Click the deactivate action on a row; confirm in the dialog. The location is removed from active selection for inventory storage.</Step>
</Steps>

## Key concepts

* **Location type** — values from `LOCATION_TYPE_LABELS` (e.g., warehouse, room, shelf — confirm with SME).
* **is\_active** — deactivated locations do not appear in inventory transaction dialogs.

## Related

<Columns cols={2}>
  <Card title="Facilities & Inventory" icon="warehouse" href="/fm/overview">
    Facilities & Inventory core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index">
    Documentation coverage and governance.
  </Card>
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/fm.tsx
  * src/cores/fm/pages/InventoryLocationsPage.tsx
</Accordion>
