# Edit a stock request

## Overview

[Video: Edit a stock request](https://www.youtube.com/watch?v=A9Jn0uTc8k4)

This flow describes how to change the details of a [stock request](https://docs.ohc.network/concepts/supply/supply-request.md) in Care, such as its name, note, or priority.

You edit a stock request at the receiving location, which raised it. You can edit it in any status.

Editing does not change the status of the stock request.

The edit form has no **Deliver From** field, so you cannot change the sending location.

## 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. If your location has no stock request, see [Raise a stock request](https://docs.ohc.network/flows/supply/supply-request/raise-supply-request.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Supply Request on Facility | Lets you save the changes, and change the tags. 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**, open one, and load it into the edit form. 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. |
| Can Read Tag Config | Lets you see the tags that you can add on the page of the stock request. You need it only if you change the tags. 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 Apply Tag Config to Resources | Lets you add a tag to the stock request. You need it only if you add tags. Where you must hold this permission depends on the tag. By default, the Facility Admin, Staff, Doctor, Nurse, 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 edit a stock request.

Note: At the receiving location, Care shows **Edit** without checking your permissions. Care checks Can Create Supply Request on Facility when you select **Save**. Without it in a department of the receiving location, Care does not save the changes.

## 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 stock request outlined](/assets/images/edit-supply-request-1-375146ff0b5f5907a2af4ff936f4f96e.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: If the inventory usage of your location is None, Care does not open the edit form. Care shows **Inventory and pharmacy aren't available here** instead.

### 2. Open the edit form

In the page header, select **Edit**.

![The page of a stock request with the Edit button outlined in the page header](/assets/images/edit-supply-request-2-397f5e4b557427595c2e4fcbb1477c6b.webp)

Care opens the form **Edit Order**, with the current details. The status badge beside the title shows the current status.

Note: Care shows **Edit** in every status of the stock request.

Note: Care shows **Edit** only at the receiving location. At the sending location, the page has no **Edit**.

Note: **Edit** shows the keyboard shortcut E. To select it with the keyboard, press E.

### 3. Change the details

Change the fields that you need.

![The Edit Order form, with no Deliver From field, and the Priority options outlined, with Urgent selected](/assets/images/edit-supply-request-3-561c1adcfa9976ffeaa3a89ee74c8eaf.webp)

| Components | What it captures |
| - | - |
| Name | The name of the stock request. This field is required. |
| Intent | The intent of the stock request: **Proposal**, **Plan**, **Directive**, **Order**, **Original Order**, **Reflex Order**, **Filler Order**, or **Instance Order**. |
| Note (Optional) | More information about the stock request. This field is optional. |
| Reason | The reason for the stock request: **Patient Care** or **Ward Stock**. |
| Category | The category of the stock request: **Central** or **Non Stock**. |
| Priority | The priority of the stock request: **Routine**, **Urgent**, **ASAP**, or **STAT**. |

The edit form has no **Deliver From** field. You cannot change the sending location of a stock request.

If you need the stock from another location, raise a new stock request. See [Raise a stock request](https://docs.ohc.network/flows/supply/supply-request/raise-supply-request.md).

To stop the stock request that you no longer need, mark it **Abandoned**. See [Approve or change the status of a stock request](https://docs.ohc.network/flows/supply/supply-request/update-supply-request-status.md).

The edit form has no field for the receiving location. You cannot change it.

The edit form has no **Order Tags** field. To change the tags, see step 5.

Note: The edit form does not change the status. To change the status, see [Approve or change the status of a stock request](https://docs.ohc.network/flows/supply/supply-request/update-supply-request-status.md).

### 4. Save the changes

Select **Save**.

![The Edit Order form with the Save button outlined](/assets/images/edit-supply-request-4-f137b0b990ca62ff2e9d271a1ca05a27.webp)

Care saves the changes, shows **Order updated successfully**, and opens the page of the stock request again.

![The page of the stock request with the message Order updated successfully and the details card outlined, with the priority Urgent](/assets/images/edit-supply-request-5-dba280986edb9b2b4ddfb9b2476e924b.webp)

If **Name** is empty, Care shows **Name is required** and does not save the changes.

Note: To leave the form without saving, select **Cancel**. Care goes back to the page that you came from.

### 5. Change the tags

This step is optional. You can change the tags in any status.

1. On the page of the stock request, find **Tags** in the details card.
2. Select the tag button. It reads **Add Tags**, or **Tags** when the stock request has tags.
3. Select the tags to add or remove.

Note: You can also change the tags in the **Tags** column of **Requests Raised**.

## Expected Outcome

* The page of the stock request shows the new details.
* The status of the stock request does not change.
* **Origin** and **Deliver To** do not change.

## Related

Concepts:

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

Flows:

* [Raise a stock request](https://docs.ohc.network/flows/supply/supply-request/raise-supply-request.md)
* [Add items to a stock request](https://docs.ohc.network/flows/supply/supply-request/add-items-supply-request.md)
* [Approve or change the status of a stock request](https://docs.ohc.network/flows/supply/supply-request/update-supply-request-status.md)
* [View a stock request](https://docs.ohc.network/flows/supply/supply-request/view-supply-request.md)
