> ## 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.

# Category table

> Category list table

## Category Table (64)

Category MDO list item table.
Category list table

## Fields

| Name                      | Description                                                                                                   | Type                                            | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | :------: |
| Category\_id              | Primary key                                                                                                   | PK                                              |    No    |
| name                      | The list item                                                                                                 | String(239)                                     |    No    |
| rank                      | Rank order                                                                                                    | UShort                                          |    Yes   |
| tooltip                   | Tooltip or other description                                                                                  | String(254)                                     |    Yes   |
| deleted                   | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists                               | UShort                                          |    Yes   |
| registered                | Registered when                                                                                               | UtcDateTime                                     |    No    |
| registered\_associate\_id | Registered by whom                                                                                            | FK [associate](./associate.mdx)                 |    No    |
| updated                   | Last updated when                                                                                             | UtcDateTime                                     |    No    |
| updated\_associate\_id    | Last updated by whom                                                                                          | FK [associate](./associate.mdx)                 |    No    |
| updatedCount              | Number of updates made to this record                                                                         | UShort                                          |    No    |
| CategoryFamily\_id        | Optional link to family, for grouping things like multiple kinds of customer category under family 'customer' | FK [CategoryFamily](./categoryfamily.mdx)       |    Yes   |
| category\_group           | Category group                                                                                                | Enum [CategoryGroup](./enums/categorygroup.mdx) |    Yes   |
| enable\_lead\_status      | Enable lead status qualification for categorygroup potential customers                                        | Bool                                            |    Yes   |

<img src="https://mintcdn.com/superofficeas/-KbDeS3ObOMH8eFq/media/loc/en/database/tables/Category.png?fit=max&auto=format&n=-KbDeS3ObOMH8eFq&q=85&s=08659a13f80886746b34da8aa1f44ff2" alt="Category table relationship diagram" width="985" height="847" data-path="media/loc/en/database/tables/Category.png" />

## Indexes

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

## Relationships

| Table                                                | Description                                                                                                                             |
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate)                             | Employees, resources and other users - except for External persons                                                                      |
| [AutomatedCategoryUpdate](./automatedcategoryupdate) | Info on how to autoupdate category when changing sale or leadstatus on person                                                           |
| [CategoryFamily](./categoryfamily)                   | Grouping table so that multiple company categories can be grouped under one term; to simplify searching for things like 'all customers' |
| [CategoryGroupLink](./categorygrouplink)             | User group link table for Category, for MDO item hiding                                                                                 |
| [CategoryHeadingLink](./categoryheadinglink)         | Heading link table for Category, for MDO headers                                                                                        |
| [contact](./contact)                                 | Companies and Organizations.                                                                                                            |
| [person](./person)                                   | Persons                                                                                                                                 |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [ej_category table](/en/database/tables/ej-category.md)
- [cust_category table](/en/database/tables/cust-category.md)
- [kb_category table](/en/database/tables/kb-category.md)
- [role_category table](/en/database/tables/role-category.md)
- [ProductCategory table](/en/database/tables/productcategory.md)
- [category_membership table](/en/database/tables/category-membership.md)
