> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-worktree-351-fix-webapi-escaped-anchors.mintlify.site/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-worktree-351-fix-webapi-escaped-anchors/B0A1boSFYhnBGGBH/media/loc/en/database/tables/Publish.png?fit=max&auto=format&n=B0A1boSFYhnBGGBH&q=85&s=6f61787b8567986c2ffad35566fd4315" 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.
