> This page is for Product Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.navipartner.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.navipartner.com/_mcp/server.

# Set up variety matrix facilities on Sales Orders

> The Variety Matrix is used for configuring detailed item lines on various orders by matching the available attributes.

You can enter the quantity that you’re selling from the sales order document. To set up variety matrix facilities on sales orders, follow the provided steps:

1. Search for **Variety Setup** and open the related link.

2. Enable **Pop up Variety Matrix**.\
   If an item with variants is selected on sales and purchase documents, the variety matrix will pop up.

   > **Note:** In normal circumstances, the user will insert a line, item code, then select the required variant code, and continue to set the quantity. Therefore, for each variety, it will be necessary to insert an item and variant code manually.

3. Create a new **Sales Order** or edit an existing one in the **Open** status.

4. In the **Lines** section add an item which has available variants.\
   The **Variety Matrix** popup window is displayed.

5. Provide the salable quantity.\
   Based on the matrix, the required lines will be automatically inserted.

## Next steps

### Set up variety matrix facilities on Sales Return Orders, Purchase Orders, and Return Purchase Orders

The same procedure should be followed to enable the **Variety Matrix** popup window on **Sales Return Orders**, **Purchase Orders**, and **Return Purchase Orders**.

#### See also

* [<ins>Create varieties in Business Central</ins>](/product/retail-varieties-create-variety)
* [<ins>Assign the created variety to an item</ins>](/product/retail-varieties-assign-variety)