# Approve or change the status of a stock request

## Overview

[Video: Approve or change the status of a stock request](https://www.youtube.com/watch?v=RkGyObJ78Uw)

This flow describes how to approve a [stock request](https://docs.ohc.network/concepts/supply/supply-request.md) in Care, and how to change its status later.

When you approve a draft stock request, its status changes from **Draft** to **Pending**. The sending location then sees it under **To Dispatch**, and can answer it with an [internal delivery](https://docs.ohc.network/concepts/supply/supply-delivery.md).

After that, you change the status from the ⋮ menu of the stock request. You can complete it, return it to **Draft**, or cancel it.

Only the receiving location, which raised the stock request, can change its status.

## Pre-requisites

* You belong to a department of the facility.
* A service of the facility lists your location under **Available Locations**.
* Your location raised the stock request, so the stock request shows your location in **Deliver To**.
* If you approve the stock request, its status is **Draft**, and it has at least one saved item. If it has none, see [Add items to a stock request](https://docs.ohc.network/flows/supply/supply-request/add-items-supply-request.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Supply Request on Facility | Lets you approve the stock request and change its status. You must hold this permission in one of the departments of the receiving location. Care checks only the departments of the receiving location, not those of the sending location. By default, the Facility Admin, Staff, Doctor, and Nurse roles hold this permission. |
| Can Read Healthcare Service | Lets you open **Services** and the service that lists your location. You can hold this permission in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist roles hold this permission. |
| Can List Facility Locations | Lets you open your location. You must hold this permission in one of the departments of your location. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, and Pharmacist roles hold this permission. |
| Can Read Supply Request | Lets you see the stock requests of your location under **Requests Raised**, and open one. You must hold this permission in one of the departments of your location. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist roles hold this permission. |

The departments of a location are the departments linked to it or to a location that contains it, the departments above them, and Administration.

Care counts only the roles that you hold in the departments of the facility.

Note: By default, the Administrator, Pharmacist, and Volunteer roles do not hold Can Create Supply Request on Facility. With only these roles, you cannot approve a stock request or change its status.

Note: Care shows **Mark as Approved** and the ⋮ menu without checking your permissions. Care checks Can Create Supply Request on Facility when you select an option. Without it in a department of the receiving location, Care shows **Error updating order** and does not change the status.

## Steps

### 1. Open the stock request

1. Open your facility.
2. In the sidebar, select **Services**.
3. Select the service that lists your location.
4. Under **Available Locations**, select the button on the card of your location.
5. In the location sidebar, select **Inventory**. The Inventory group opens.
6. Under **Internal Transfers**, select **To Receive**.
7. On the **Requests Raised** tab, select the tab for the status of the stock request.
8. In the row of the stock request, select **See Details**.

![The Requested tab of Requests Raised on To Receive, with the row of a Draft stock request outlined](/assets/images/update-supply-request-status-1-940c99a326beb8693c38c32d526b3aa2.webp)

Care opens the stock request.

Note: On the **Requests Raised** tab, **Requested** lists the stock requests with the status **Draft** or **Pending**. **Completed** lists the stock requests with the status **Completed**, **Abandoned**, or **Entered in Error**.

Note: The button on the location card depends on the type of the service. For a Store service, it reads **View Inventory**. For a Pharmacy service, it reads **View Prescriptions**. Both buttons open a page of the location, with the location sidebar.

Note: Care shows the ⋮ menu only at the receiving location. If you open the stock request from **To Dispatch** at the sending location, the page has no ⋮ menu.

### 2. Approve the stock request

If the status of the stock request is not **Draft**, skip this step.

1. Make sure that every item is saved. If the panel shows **Save List**, select it first.
2. In the box **Review and finalise this request order**, select **Mark as Approved**.

![A Draft stock request with saved items and the Review and finalise this request order box outlined, with Mark as Approved](/assets/images/update-supply-request-status-2-66e95e751594dd411b23442a2636b486.webp)

Care does not ask you to confirm. Care changes the status to **Pending** and shows **Order updated successfully**.

![The stock request with the status Pending and the message Order updated successfully, with Requested Items outlined and no add-items panel](/assets/images/update-supply-request-status-3-503fa4daa533652bdefed7f86dc73b46.webp)

Care shows the box only when no unsaved rows exist. **Mark as Approved** is disabled while the stock request has no saved items.

Note: **Mark as Approved** shows the keyboard shortcut M. To select it with the keyboard, press M.

After you approve the stock request, these things happen:

* Care no longer shows the add-items panel. You cannot add items to a **Pending** stock request.
* The stock request shows at the sending location, under **To Dispatch** > **Requests to Dispatch** > **Pending**.
* At the sending location, the page of the stock request shows **Create Delivery Order**, which starts an internal delivery. See [Create an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/create-supply-delivery.md).

Note: The sending location does not see **Draft** stock requests under **To Dispatch**.

Note: To add more items after you approve the stock request, return it to **Draft**, as in step 3.

### 3. Change the status from the menu

In the page header, open the ⋮ menu.

![The open menu of a Pending stock request outlined, with Mark as Draft, Mark as Completed, Mark as entered in error, and Mark as Abandoned](/assets/images/update-supply-request-status-4-d030d025a43283d130c69d4893c70243.webp)

Select one of these options.

| Option | When Care shows it | What it does |
| - | - | - |
| **Mark as Draft** | When the status is not **Draft**. | Sets the status to **Draft**. Care shows the add-items panel again. |
| **Mark as Completed** | Only when the status is **Pending**. | Sets the status to **Completed**. |
| **Mark as entered in error** | Whenever Care shows the menu. | Sets the status to **Entered in Error**. Care sets every requested item to **Entered in Error**. |
| **Mark as Abandoned** | Whenever Care shows the menu. | Sets the status to **Abandoned**. Care sets every requested item to **Cancelled**. |

Care does not ask you to confirm. Care saves the new status and shows **Order updated successfully**.

Care does not show the ⋮ menu when the status is **Completed** or **Entered in Error**.

Note: Care does not check the items when you mark a stock request **Completed**. Internal deliveries do not change the status of the requested items.

Warning: **Abandoned** and **Entered in Error** are final. After that, Care refuses any change of the status.

When you abandon a stock request or mark it entered in error, Care changes every requested item. This includes items that are already **Completed**.

Note: Care still shows the ⋮ menu on an **Abandoned** stock request. If you select **Mark as Draft** or **Mark as entered in error**, Care refuses the change. Care shows **Error updating order**, and the status stays **Abandoned**.

Note: You can still change the details of an **Abandoned** or **Entered in Error** stock request with **Edit**. See [Edit a stock request](https://docs.ohc.network/flows/supply/supply-request/edit-supply-request.md).

The status decides where the stock request shows in the lists.

| Status | Requests Raised, at your location | Requests to Dispatch, at the sending location |
| - | - | - |
| **Draft** | **Requested** | Not listed |
| **Pending** | **Requested** | **Pending** |
| **Completed** | **Completed** | **Completed** |
| **Abandoned** | **Completed** | Not listed |
| **Entered in Error** | **Completed** | Not listed |

## Expected Outcome

* The stock request shows the new status on its page and in the lists.
* After **Mark as Approved**, the status is **Pending**. The stock request shows under **Requests to Dispatch** at the sending location.
* After **Mark as Abandoned** or **Mark as entered in error**, each requested item shows **Cancelled** or **Entered in Error**. You cannot change the status again.
* A status change does not change the stock of either location.

## Related

Concepts:

* [Stock Request](https://docs.ohc.network/concepts/supply/supply-request.md)
* [Internal Delivery](https://docs.ohc.network/concepts/supply/supply-delivery.md)

Flows:

* [Add items to a stock request](https://docs.ohc.network/flows/supply/supply-request/add-items-supply-request.md)
* [Edit a stock request](https://docs.ohc.network/flows/supply/supply-request/edit-supply-request.md)
* [View a stock request](https://docs.ohc.network/flows/supply/supply-request/view-supply-request.md)
* [Create an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/create-supply-delivery.md)
* [Track outgoing stock in To Dispatch](https://docs.ohc.network/flows/supply/internal-transfers/track-outgoing-stock.md)
