> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/warehouse/picking/priority-code/creating-priority-codes.md). Agents can also search and read this documentation through its [MCP server](https://docs.xorosoft.com/~gitbook/mcp).

# Creating Priority Codes

Priority Codes help ensure that the most urgent orders are fulfilled first. Creating priority codes involves the priority code details, such as name, code, number, and color. Once the priority code is created, it can be assigned to the waves and used to determine the picking process.

{% hint style="info" %}
To create the priority code, go to Menu > Warehouse > Picking > Priority Code
{% endhint %}

In the Priority Code module, enter the following details:

* **Name:** This field allows you to enter the name for the priority code, such as "High", "Low", "Medium", etc.
* **Code:** This field allows you to enter a code that acts as a unique identifier for the priority code.&#x20;
* **Priority Number:** This field allows you to enter a numerical value to determine the order of importance for the priority. The higher the number, the higher the priority.&#x20;
* **Color Hex:** This field allows you to enter a hexadecimal code and add a color to associate and represent the priority code. For example, you can use "#FF0000" for High Priority (red), "#FFFF00" for Medium Priority (yellow), "#00FF00" for Low Priority (green). Alternatively, you can click on the color box to select the color for the priority code.

After filling in the details, click "Save" to create the priority code.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FSUFDMunqmLYyiIIQ7QAK%2Fimage.png?alt=media&amp;token=ec022d0a-508f-4961-915a-d72eaf8d2166" alt=""><figcaption></figcaption></figure>

### Assigning Priority Codes

You can assign priority codes when creating auto-waves. To assign the priority code, go to the sales order and initiate auto-wave.&#x20;

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F1ajtuO36f2fnl8L8apEC%2Fimage.png?alt=media&amp;token=7e024771-ca02-4301-9cd0-59fb35955ead" alt=""><figcaption></figcaption></figure>

On the "Create Wave" page, you can select the priority code from the "Priority Code" dropdown option.&#x20;

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Fe12gAS7kUJyxGeO1NUTA%2Fimage.png?alt=media&amp;token=cacf6f8b-50c9-43a8-975d-dbe986da78ef" alt=""><figcaption></figcaption></figure>

Select the priority code and click "Confirm & Create Wave" to create the wave and assign the priority to the wave.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FInXvFrxElkZJtENTZqxo%2Fimage.png?alt=media&amp;token=3604c9cd-928d-4a77-be75-31e618f2210a" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/warehouse/picking/priority-code/creating-priority-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
