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

# preference table

> Not quite obsolete preference table; historical info mostly. From 6.1 this table now holds an upgrade stamp.

## preference Table (22)

Not quite obsolete preference table; historical info mostly. From 6.1 this table now holds an upgrade stamp.

## Fields

| Name                      | Description                           | Type                            | Nullable |
| ------------------------- | ------------------------------------- | ------------------------------- | :------: |
| preference\_id            | Primary key                           | PK                              |    No    |
| type                      | Preference type                       | ShortId                         |    No    |
| pdata                     | Changed to string\[255]               | String(254)                     |    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    |

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

## Indexes

| Fields               | Types       | Description |
| -------------------- | ----------- | ----------- |
| type, preference\_id | ShortId, PK | Unique      |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |

## Replication Flags

* Area Management controlled table. Contents replicated to satellites and traveller databases.
* 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

- [UserPreferenceTable](/en/api/archive-providers/reference/userpreferencetable.md)
- [UserPreference table](/en/database/tables/userpreference.md)
- [User preferences](/en/admin/user-preferences/index.md)
- [NSPreference](/en/automation/crmscript/reference/CRMScript.NetServer.NSPreference.md)
- [Save Preferences](/en/api/reference/restful/agent/preference_agent/save-preferences.md)
- [Save Preference](/en/api/reference/restful/agent/preference_agent/save-preference.md)
