> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# leadstatus table

> List items of lead status that is selectable for contacts and persons that have specific category

## leadstatus Table (549)

List items of lead status that is selectable for contacts and persons that have specific category

## Fields

| Name           | Description                                                                     | Type         | Nullable |
| -------------- | ------------------------------------------------------------------------------- | ------------ | :------: |
| leadstatus\_id | Primary key                                                                     | PK           |    No    |
| name           | The list item                                                                   | String(4000) |    No    |
| rank           | Rank order                                                                      | UShort       |    Yes   |
| tooltip        | Tooltip or other description                                                    | String(4000) |    Yes   |
| deleted        | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists | UShort       |    Yes   |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/leadstatus.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=a3f6efb55529ffc659df0619eaa66214" alt="leadstatus table relationship diagram" width="801" height="59" data-path="media/loc/en/database/tables/leadstatus.png" />

## Indexes

| Fields | Types        | Description |
| ------ | ------------ | ----------- |
| name   | String(4000) | Unique      |

## Relationships

| Table                                                | Description                                                                   |
| ---------------------------------------------------- | ----------------------------------------------------------------------------- |
| [AutomatedCategoryUpdate](./automatedcategoryupdate) | Info on how to autoupdate category when changing sale or leadstatus on person |
| [person](./person)                                   | Persons                                                                       |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [leadstatus](/en/api/mdo-providers/reference/leadstatus.md)
- [AutomatedCategoryUpdate table](/en/database/tables/automatedcategoryupdate.md)
- [Category table](/en/database/tables/category.md)
- [person table](/en/database/tables/person.md)
- [Get Need Category Update For Person](/en/api/reference/restful/agent/list_agent/get-need-category-update-for-person.md)
- [Save All Automated Category Updates](/en/api/reference/restful/agent/list_agent/save-all-automated-category-updates.md)
