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

# Publish table

> Publishing system for external users

## Publish Table (200)

Publishing system for external users

## Fields

| Name                      | Description                                                                                       | Type                                        | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------- | :------: |
| Publish\_id               | Primary key                                                                                       | PK                                          |    No    |
| tableNumber               | Table number this record refers to                                                                | TableNumber                                 |    No    |
| recordId                  | Record number that has been published                                                             | RecordId                                    |    Yes   |
| publishType               | Type of publishing action, 0 = Unknown, 1 = to external persons                                   | Enum [PublishType](./enums/publishtype.mdx) |    Yes   |
| publishFrom               | Publication valid from (inclusive)                                                                | DateTime                                    |    Yes   |
| publishTo                 | Publication valid to (inclusive)                                                                  | DateTime                                    |    Yes   |
| eventDate                 | The date an event actually happens; you may want to have some special processing around that date | DateTime                                    |    Yes   |
| encryptedCheck            | Encrypted data, to detect unwanted changes                                                        | String(254)                                 |    No    |
| 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/3ZhivzBeXAvFeVZx/media/loc/en/database/tables/Publish.png?fit=max&auto=format&n=3ZhivzBeXAvFeVZx&q=85&s=dfe1cd6d90f88fa628711f8a46a7881a" alt="Publish table relationship diagram" width="363" height="59" data-path="media/loc/en/database/tables/Publish.png" />

## Indexes

| Fields                             | Types                       | Description |
| ---------------------------------- | --------------------------- | ----------- |
| publishType                        | Enum                        | Index       |
| tableNumber, recordId, publishType | TableNumber, RecordId, Enum | Unique      |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External 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

- [Publish](/en/api/reference/restful/agent/userdefinedfieldinfo_agent/publish.md)
- [Save And Publish](/en/api/reference/restful/agent/configuration_agent/save-and-publish.md)
- [Enum values for PublishType](/en/database/tables/enums/publishtype.md)
- [Publish And Retrieve Ui Events](/en/api/reference/restful/agent/viewstate_agent/publish-and-retrieve-ui-events.md)
- [Publish And Sync Ui Events](/en/api/reference/restful/agent/viewstate_agent/publish-and-sync-ui-events.md)
- [Project table](/en/api/bulk-operations/bulk-update/reference/project-table.md)
