# Room statuses (https://docs.treema.online/en/docs/locations/statuses)

The four statuses a guest room carries, where they come from, how they move between your team and your PMS, and who can change each one.

Every guest room on the board carries four statuses: how clean it is, whether someone is staying,
whether it can be sold, and what the guest has asked for. They are the same on the web and on the
phone. Only guest rooms have statuses — a space such as the lobby or the kitchen has none.

## The four statuses [#the-four-statuses]

| Status            | Values                                                         |
| ----------------- | -------------------------------------------------------------- |
| **Cleaning**      | **Clean**, **Dirty**, **Pickup**, **Inspected**, **Unknown**   |
| **Occupancy**     | **Vacant**, **Occupied**, **Due out**, **Due in**, **Unknown** |
| **Maintenance**   | **In service**, **Out of Service**, **Out of Order**           |
| **Guest service** | **None**, **Do not disturb**, **Make up room**                 |

A new room starts at **Unknown** for cleaning and occupancy, **In service** and **None**.
**Cleaning** can be set back to **Unknown** at any time. **Occupancy** cannot: it shows **Unknown**
only until it is set for the first time.

**Cleaning**, **Occupancy** and **Maintenance** are the three views of the [board](https://docs.treema.online/en/docs/locations/browsing/).
**Guest service** is not a view: a moon (**Do not disturb**) or a spray can (**Make up room**) on
the tile shows it.

## Where statuses come from [#where-statuses-come-from]

A status is either set by someone on your team or brought in by your PMS:

* **By hand, on the web** — in the room's [panel](https://docs.treema.online/en/docs/locations/room-panel/) or from the **…** menu of its
  tile.
* **By hand, on the phone** — see [Properties on your phone](https://docs.treema.online/en/docs/mobile/properties/).
* **From the PMS** — for rooms linked to a PMS; see [With a PMS](#with-a-pms) below.

Every change, whoever made it, is recorded in the room's [Activity](https://docs.treema.online/en/docs/locations/room-panel/).

## With a PMS [#with-a-pms]

Statuses come from the PMS only for guest rooms linked to it — see
[Mapping PMS rooms](https://docs.treema.online/en/docs/locations/pms-rooms/). On every sync, the statuses the PMS sends for a linked room
replace what the room shows. A PMS reports a room only as vacant or occupied: **Due in** and
**Due out** are always set by hand.

Some PMS also take changes back: a change made in Treema HQ to a status named in the last
column of the table is sent to the PMS. Any other status changed by hand lasts until the next sync.
In the room's [panel](https://docs.treema.online/en/docs/locations/room-panel/), an icon next to each status shows which applies: **From
PMS**, **Sent to PMS**, or **Treema HQ only** for a status your PMS does not send. If the PMS
does not accept a change, the icon turns red and the room's **Activity** records it.

| PMS                            | Room statuses | Reservations | Takes changes back            |
| ------------------------------ | ------------- | ------------ | ----------------------------- |
| Opera Cloud (OHIP)             | Yes           | Yes          | —                             |
| Opera on-prem (agent)          | Yes           | Yes          | —                             |
| Fidelio Suite8 on-prem (agent) | Yes           | Yes          | —                             |
| Opera on-prem (HRS IFC GATE)   | Yes           | —            | **Cleaning**, **Maintenance** |
| Fidelio Suite8 (HRS IFC GATE)  | Yes           | —            | **Cleaning**                  |
| Logus HMS                      | Yes           | —            | **Cleaning**                  |
| Edelweiss (Edelink)            | Yes           | —            | **Cleaning**                  |
| 1С:Hotel                       | Yes           | —            | **Cleaning**                  |
| Shelter                        | Yes           | —            | **Cleaning**                  |

A system fills in the statuses it reports for the room. Reservations fill **Reservations today** in
the panel.

## Who can change statuses [#who-can-change-statuses]

Anyone who can open the property on the board sees its statuses. Changing one needs that status's
own permission in the property:

| To change         | You need                       |
| ----------------- | ------------------------------ |
| **Cleaning**      | **Changes cleaning status**    |
| **Maintenance**   | **Changes maintenance status** |
| **Occupancy**     | **Changes occupancy**          |
| **Guest service** | **Changes guest service**      |

Workspace owners and admins can change all four. See [Roles](https://docs.treema.online/en/docs/settings/roles/) for how
permissions are given.
