# Add items to a purchase order

## Overview

[Video: Add items to a purchase order](https://www.youtube.com/watch?v=gqYZ_eu7GGU)

This flow describes how to add the items that you request to a [purchase order](https://docs.ohc.network/concepts/supply/purchase-order.md) in Care. Each requested item names one [Product Knowledge](https://docs.ohc.network/concepts/definitions/product-knowledge.md) and the quantity that you request. It names the Product Knowledge, not a [product](https://docs.ohc.network/concepts/supply/product.md), which is one stocked batch of it.

You add items while the status of the purchase order is **Draft**. You first build a list of rows, and Care saves the rows when you select **Save List**. After you save an item, you cannot change or remove it on this page.

## Pre-requisites

* You belong to a department of the facility.
* The facility has a store location, that is, a location whose inventory usage is **Store**.
* A service of the facility lists the store location under **Available Locations**.
* The store location has a purchase order with the status **Draft**. If it has none, see [Create a purchase order](https://docs.ohc.network/flows/supply/purchase-order/create-purchase-order.md).
* The Product Knowledge of each item exists, and its status is **Active**. If it does not exist, see [Add a product to the catalog](https://docs.ohc.network/flows/supply/product/add-product-to-catalog.md).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Supply Request on Facility | Lets you save the items in the purchase order. You must hold this permission in one of the departments of the store 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 the store 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 the store location. You must hold this permission in one of the departments of the store location. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, and Pharmacist roles hold this permission. |
| Can Read Supply Request | Lets you see the purchase orders of the store location, open one, and see its saved items. You must hold this permission in one of the departments of the store location. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist roles hold this permission. |
| Can Read Product Knowledge | Lets you select a Product Knowledge in **Add from Item List** or **Add Item**. 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. |

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: On a Draft purchase order, Care shows the controls to add items and **Save List** without checking your permissions. Care checks Can Create Supply Request on Facility when you select **Save List**. Without it in a department of the store location, Care does not save the items.

## Steps

### 1. Open the purchase order

1. Open your facility.
2. In the sidebar, select **Services**.
3. Select the service that lists the store location.
4. Under **Available Locations**, select the button on the card of the store location.
5. In the location sidebar, select **Inventory**. The Inventory group opens.
6. Under **External Supply**, select **Purchase Orders**.
7. Select the **Requested** tab.
8. Find the purchase order with the status **Draft**.
9. In its row, select **See Details**.

![The Requested tab of Purchase Orders with the row of a Draft purchase order outlined](/assets/images/add-items-purchase-order-1-da8ae0e4bef317e923a4c06d126fb4b4.webp)

Care opens the purchase order. Its saved items show under **Requested Items**.

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 the location is not **Store**, the sidebar does not show **External Supply**.

Note: You can add items only while the status of the purchase order is **Draft**. For a **Pending** purchase order, Care does not show the controls to add items. To add items to it, first return it to **Draft** with **Mark as Draft**. See [Approve or change the status of a purchase order](https://docs.ohc.network/flows/supply/purchase-order/update-purchase-order-status.md).

### 2. Select an item

On the page of the purchase order, open the item picker.

* If the purchase order has no saved items, Care shows **No supply requests found** and **Add items to get started**. Select **Add from Item List**.

![A purchase order with no items, showing No supply requests found and Add from Item List outlined](/assets/images/add-items-purchase-order-2-01ab53d4fb6bb2b54cf8df859a29ac8d.webp)

* If the purchase order already has items or rows, select **Add Item**.

In the picker, select the Product Knowledge of the item. To find it, type its name.

Care adds a row for the item, with **Quantity** 1.

The picker lists the active Product Knowledge entries of the facility.

Note: By default, you can add up to 100 items. Your deployment can change this limit. The limit counts the saved items and the unsaved rows together. At the limit, Care replaces the picker with **You cannot add more than 100 items in a single request.**

### 3. Enter the quantity

In **Quantity**, enter the quantity that you request.

| Components | What it captures |
| - | - |
| Item | The Product Knowledge that you selected. |
| Quantity | The quantity that you request, as a whole number of at least 1. The default is 1. This field is required. |
| Actions | **Remove** removes the row from the list. |

To add the next item, select **Add Item** again. Care adds one row for each item.

![The table of unsaved rows outlined, with two items and their quantities](/assets/images/add-items-purchase-order-3-3861a477fb0f1cba6ab2076c4bc68bfa.webp)

### 4. Save the list

Select **Save List**.

![The unsaved rows with the Save List button outlined](/assets/images/add-items-purchase-order-4-79a277b868f23a3fc3ed2bf1766f44ef.webp)

While Care saves the rows, the button shows **Creating...**.

Care saves each row as a requested item and shows **Supply requests created successfully**.

The items show in the table of saved items, with the columns **Item**, **Quantity**, and **Status**. Each new item has the status **Active**.

![The table of saved items outlined, with each item in the status Active, and the message Supply requests created successfully](/assets/images/add-items-purchase-order-5-d3b9e3a7e8fc282715f5b61ec613364e.webp)

Care saves each row with its own request. If Care shows **Error creating supply requests**, some rows can still be saved. Check the table of saved items, so that you do not save an item twice. If you do not hold the permissions listed above, ask your facility administrator for them.

Note: To remove all unsaved rows, select **Cancel**.

Note: While unsaved rows exist, Care does not show **Mark as Approved**. Save or cancel the rows first.

## Expected Outcome

* Each saved item shows in the table of saved items, with its quantity and the status **Active**.
* When no unsaved rows remain, the page shows **Review and finalise this request order**, with **Mark as Approved**. To approve the purchase order, see [Approve or change the status of a purchase order](https://docs.ohc.network/flows/supply/purchase-order/update-purchase-order-status.md).

## Related

Concepts:

* [Purchase Order](https://docs.ohc.network/concepts/supply/purchase-order.md)
* [Product Knowledge](https://docs.ohc.network/concepts/definitions/product-knowledge.md)

Flows:

* [Create a purchase order](https://docs.ohc.network/flows/supply/purchase-order/create-purchase-order.md)
* [Approve or change the status of a purchase order](https://docs.ohc.network/flows/supply/purchase-order/update-purchase-order-status.md)
* [View a purchase order](https://docs.ohc.network/flows/supply/purchase-order/view-purchase-order.md)
* [Add a product to the catalog](https://docs.ohc.network/flows/supply/product/add-product-to-catalog.md)
