# General Sets

General sets let you group elements of different kinds (countries, customers, vendors, partner groups, product types) under a single code. A set can then be used as a selection criterion in other features: for example, in commission contracts you can specify a general set as the partner or as the product, instead of a single customer, vendor or item.


Search for **General Set**. The page lists the sets; the **Lines** action opens the content of the selected set.


| Field | Description |
|---|---|
| Code | Identifier of the set. |
| Description | Description of the set. |

Deleting a set also deletes all its lines.


| Field | Description |
|---|---|
| Set Type | Kind of element included: **Country**, **Customer**, **Vendor**, **Partner Group** or **Product Type** (the last two are available only when the related features are active). |
| No. | Code of the element, chosen from the list matching the selected type. |
| Description | Filled in automatically with the name or description of the chosen element; can be changed. |

Changing the **Set Type** of a line clears **No.** and **Description**.


1. Open **General Set** and add a new line with **Code** and **Description**.
2. Select the set and choose the **Lines** action.
3. For each element to include, enter **Set Type** and **No.**


- A **customer** or **vendor** belongs to the set if it is included directly, or if its country or its partner group is included.
- An **item** belongs to the set if its product type is included.


In commission contract lines, **Partner Type** and the product type can be set to **General Set**: you then enter the set code, and the line applies to all customers or items belonging to it according to the rules above.