# Create a purchase order

## Overview

[Video: Create a purchase order](https://www.youtube.com/watch?v=ZHaGu3f2uWM)

This flow describes how to create a [purchase order](https://docs.ohc.network/concepts/supply/purchase-order.md) in Care. A purchase order asks a supplier for stock for a store location of the facility.

A new purchase order has the status **Draft** and no items. After you create it, you add the items that you request, and then you approve it. When the goods arrive, you record them in a purchase delivery.

## 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 supplier is one of the supplier organizations of your deployment. The **Vendor/Distributor** list shows only these organizations.
* If the supplier is not in the list, ask a superuser to add it. By default, only a superuser can add suppliers.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Supply Request on Facility | Lets you create 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, and open the new purchase order after you create it. 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 Tag Config | Lets you see the tags in **Order Tags**. You need it only if you add 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 tags to the purchase order when you create it. 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.

The **Vendor/Distributor** list needs no permission. Every signed-in user can see the suppliers in it.

Note: Care shows **Create Order** and **Create** without checking your permissions. Care checks Can Create Supply Request on Facility when you select **Create**. Without it in a department of the store location, Care does not create the purchase order.

## Steps

### 1. Open Purchase Orders

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**.

![The location sidebar with Purchase Orders outlined under External Supply](/assets/images/create-purchase-order-1-8a8ef29faf6a5f251d740bbe56f8e4e2.webp)

Care shows the purchase orders of the store location, in the tabs **Requested** and **Completed**.

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: You can also open **Purchase Orders** from **Quick links** on the overview page of the location.

Note: If the inventory usage of the location is not **Store**, the sidebar does not show **External Supply**. A purchase order page of such a location shows **External supply isn't available here**.

### 2. Start the order

Select **Create Order**.

![The Purchase Orders page with the Create Order button outlined](/assets/images/create-purchase-order-2-cc8b4fe9ed329e2ae613a07fe8aab67b.webp)

Care opens the **Create Order** form. The status badge beside the title shows **Draft**.

Note: **Create Order** shows the keyboard shortcut C. To select **Create Order** with the keyboard, press C.

### 3. Enter the order details

Complete the fields of the form.

![The Create Order form with the selected supplier outlined in Vendor/Distributor](/assets/images/create-purchase-order-3-95f660a2ef2ec13953ca7a06728eaac1.webp)

| Components | What it captures |
| - | - |
| Name | The name of the purchase order. Care puts the cursor in this field when the form opens. This field is required. |
| Vendor/Distributor | The supplier of the goods. Select the supplier in **Select Vendor/Distributor**. To find a supplier, type its name in **Search vendor**. This field is required. |
| Intent | The intent of the order: **Proposal**, **Plan**, **Directive**, **Order**, **Original Order**, **Reflex Order**, **Filler Order**, or **Instance Order**. The default is **Order**. |
| Note (Optional) | More information about the purchase order. This field is optional. |
| Order Tags | The tags of the purchase order. Select the tags that apply. This field is optional. |
| Reason | The reason for the order: **Patient Care** or **Ward Stock**. The default is **Ward Stock**. |
| Category | The category of the order: **Central** or **Non Stock**. The default is **Non Stock**. |
| Priority | The priority of the order: **Routine**, **Urgent**, **ASAP**, or **STAT**. The default is **Routine**. |

Intent, Reason, Category, and Priority always have a value, because Care fills in a default for each.

![The Create Order form with a note entered and the Priority options outlined, with Routine selected](/assets/images/create-purchase-order-4-309a810c592a9221b2322fe4c0975a51.webp)

The form has no field for the location that receives the goods. Care uses the store location that you opened.

Make sure that you select the correct supplier. After you create the purchase order, you cannot change the supplier.

Note: **Order Tags** shows only when you create the purchase order. Later, you change the tags on the page of the purchase order.

### 4. Create the order

Select **Create**.

![The Create Order form with the Create button outlined](/assets/images/create-purchase-order-5-180a1fb9d633b0f05dcd45669fd143bf.webp)

While Care saves the purchase order, the button shows **Creating...**.

Care creates the purchase order and shows **Order created successfully**. Then Care opens the page of the new purchase order, with the status **Draft**.

![The new purchase order with the status Draft, the message Order created successfully, and Add from Item List outlined](/assets/images/create-purchase-order-6-d7f51b0e4b9cd6aba25305b8bb62c8ff.webp)

Care checks the required fields before it creates the purchase order. If a required field is empty, Care shows a message and does not create the purchase order.

| If Care shows | What to do |
| - | - |
| **Name is required** | Enter a name in **Name**. |
| **Supplier is required** | Select a supplier in **Vendor/Distributor**. |

Note: To leave the form without creating a purchase order, select **Cancel**, or press Esc. Care goes back to the page that you came from.

## Expected Outcome

* Care creates the purchase order with the status **Draft**.
* On the page of the purchase order, **Deliver To** shows the store location, and **Supplier** shows the supplier that you selected.
* The purchase order has no items yet. The page shows **Add from Item List**, where you add the items. See [Add items to a purchase order](https://docs.ohc.network/flows/supply/purchase-order/add-items-purchase-order.md).
* On **Purchase Orders**, the purchase order shows in the **Requested** tab.
* After you approve the purchase order, its status is **Pending**, and the page shows **Create Delivery Order**. With it, you record the goods that arrive. See [Create a purchase delivery](https://docs.ohc.network/flows/supply/purchase-delivery/create-purchase-delivery.md).

## Related

Concepts:

* [Purchase Order](https://docs.ohc.network/concepts/supply/purchase-order.md)
* [Purchase Delivery](https://docs.ohc.network/concepts/supply/purchase-delivery.md)

Flows:

* [Add items to a purchase order](https://docs.ohc.network/flows/supply/purchase-order/add-items-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)
* [Edit a purchase order](https://docs.ohc.network/flows/supply/purchase-order/edit-purchase-order.md)
* [View a purchase order](https://docs.ohc.network/flows/supply/purchase-order/view-purchase-order.md)
* [Create a purchase delivery](https://docs.ohc.network/flows/supply/purchase-delivery/create-purchase-delivery.md)
