# Document/Product number setup

To set up the document number pattern, or product number pattern, go to Administration > Document number setup:

![](/files/-M7CYD-E9Ozivd2dWGYn)

Click on "edit" button on the right side to enable the changes.

Here, you can change the prefix, suffix, next number. And also change whether the system will automatically generate the document number, or you would rather keep it as manual entry!

In this same window, you can set up the SKU pattern for various product types:

![](/files/-M7CZiGyADB-bpyy-L3j)

The newest addition to document number setup, is setting up the document number per warehouse!

![](/files/-M7C_Ln2dBb7DpAEFcqF)

Once you are finished and happy with the changes, click on the "save" button on the right side, to complete the process.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.erpag.com/project/products-and-services/document-templates/document-product-number-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
