# Inquiry types

An inquiry type is a Sales configuration value that names the kind of client request an
inquiry represents. Staff select the maintained value on an inquiry record.

## Before you start

Add or change inquiry types when the kinds of requests your team receives change. The list is
available only when the subscription includes the feature; otherwise, the page shows the
subscription-upgrade surface.

| If you need to… | Go to |
|---|---|
| Open the inquiry type list | [Find the inquiry types](#find-the-inquiry-types) |
| Check the list, form, and actions | [Understand the list and form](#understand-the-list-and-form) |
| Maintain an inquiry type | [Add, edit, and remove an inquiry type](#add-edit-and-remove-an-inquiry-type) |
| Open list tools or leave a form | [Cancel and export the list](#cancel-and-export-the-list) |
| Correct a blocked action | [When validation or an action fails](#when-validation-or-an-action-fails) |

The page is titled **Inquiry Types**. **New** is shown when it is not hidden and the
subscription surface is available. The **Delete** menu is shown when deletion is allowed.

## Find the inquiry types

Open the list from **General settings** > **Configuration** > **Inquiry Types**.

**Prerequisites**

- The subscription feature is available.
- Your account can reach the configuration page.

**Steps**

1. Open **General settings**.
2. Select **Configuration**.
3. Select **Inquiry Types**.
4. Confirm that the page heading is **Inquiry Types**.

When editing is allowed, an existing row opens in the new/edit popup with its current value.

**Result:** The Inquiry Types list is open. If you selected an existing row, its populated
new/edit popup is open.

Continue with [Understand the list and form](#understand-the-list-and-form).

## Understand the list and form

The list identifies each inquiry type by **Name**. The new/edit form exposes **Name** as its
only visible field, so maintenance changes one value.

| Surface | What to expect |
|---|---|
| **Name** list column | Visible and filterable; not sortable or editable. |
| Identifier columns | Hidden from the list and form. |
| Direct row changes | Add, update, and delete actions are not available directly in a row. |
| **Name** form field | The only visible field in the Inquiry Type form. |
| Required rule | **Name** has a required validation rule. |
| Character rule | Text entries must follow a character pattern. |

The available list columns depend on your list configuration. The list displays one **Name**
column, no entity rows, `No data`, and `Count: 0`; a loading indicator can remain visible while
the list loads.

> **Note:** Work from the column headers visible in your list because the available columns
> depend on the list configuration.

The list shows **New**, **Refresh**, and **Settings**. **Refresh** and **Settings** are titled
buttons without visible text. The list has no labelled form controls until a form surface is
opened.

Continue with the maintenance task that matches your need.

## Add, edit, and remove an inquiry type

| If you need to… | Use | Shared condition |
|---|---|---|
| Create a name | **New** | The control is not hidden and the subscription surface is available. |
| Change a name | Existing row | Editing is allowed and a row is available. |
| Remove a name | **Delete** | Deletion is allowed and more than one item exists. |

### Add an inquiry type

Add a new name when the list offers **New** and staff need to select it on an inquiry record.

**Prerequisites**

- The subscription feature is available.
- **New** is shown.
- You have the name to enter.

**Steps**

1. On the Inquiry Types list, select **New**.
2. In the new/edit popup, enter the inquiry type name in **Name**.
3. Select **Save** in the form.
4. Confirm the message `Data saved Successfully`.

**Result:** The new inquiry type is saved and the save result is visible as
`Data saved Successfully`.

### Edit an inquiry type

When editing is allowed, an existing inquiry type opens in the new/edit popup with its current
value.

**Steps**

1. In the new/edit popup, change the value in **Name**.
2. Select **Save**.
3. Confirm `Data updated Successfully`.

**Result:** The selected inquiry type is updated.

### Remove an inquiry type

Removing a name can affect saved data that is related to it, and the list must retain at least
one item.

| List condition | What happens |
|---|---|
| Deletion is allowed and more than one item exists | **Delete** deletes the selected inquiry type. |
| One item or fewer exists | The delete path produces `Must have at least one item`. |
| Saved data is related to the inquiry type | The delete path can produce `Related to Saved data, Can't be deleted`. |

**Prerequisites**

- The inquiry type row to remove is available.
- Deletion is allowed.
- More than one item exists in the list.

**Steps**

1. Open the selected row's action menu.
2. Select **Delete**.
3. Confirm the message `Data Deleted Successfully` when the deletion succeeds.

**Result:** The selected inquiry type is deleted when the permission and list-size conditions
allow deletion.

Continue with [Cancel and export the list](#cancel-and-export-the-list) for the remaining list
actions.

### Cancel and export the list

| If you need to… | Select | Result | Scope |
|---|---|---|---|
| Leave an open modal without completing its action | **Cancel** | The modal action is cancelled. | Outside the Inquiry Types page-specific controls. |
| Open list export options | **Export**, when available | The export options surface opens. | Inquiry Types list action. |

**Prerequisites**

- The Inquiry Types list is open.
- To export, export access is available.

**Steps**

1. Choose the row that matches your task.

**Result:** The selected action is completed: an open modal is cancelled, or the export options
surface is open after **Export** when that action is available.

## When validation or an action fails

Use the exact message on screen to choose the matching correction.

| Message | Recovery action |
|---|---|
| `Name is required` | Enter a value in **Name**, then select **Save** again. |
| `Just '_' '-' And '.' Characters Accepted` | Correct the characters in **Name** before saving. |
| `Forbidden characters detected. Please remove them and try again.` | Remove the forbidden characters, then try the operation again. |
| `Related to Saved data, Can't be deleted` | Keep the inquiry type because saved data is related to it. |
| `Failed to Delete` | Review the row and deletion conditions before selecting **Delete** again. |
| `Must have at least one item` | Keep more than one inquiry type in the list before selecting **Delete**. |

After correcting the value or condition, return to the relevant maintenance task.

## Continue with inquiry records or related settings

Use the maintained value on inquiry records at the **Inquiry** stage. This page maintains the
inquiry-type values; it does not move an inquiry between stages.

For another reference list in the same Sales configuration area, continue with [Inquiry status](https://pams-doc-test-fresh.atloria.app/p/pams-doc-test-fresh-N9B4TwWn3Q/user/configuration-sales-inquiry-status).
