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

# message_header table

> This table contains small pieces of information which is listed over the body for each message.

## message\_header Table (259)

This table contains small pieces of information which is listed over the body for each message.

## Fields

| Name           | Description                                                                                                                                                                        | Type                               | Nullable |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- | :------: |
| id             | The primary key (auto-incremented)                                                                                                                                                 | PK                                 |    No    |
| message\_id    | The id of the message this header entry is connected to.                                                                                                                           | FK [ej\_message](./ej-message.mdx) |    No    |
| type           | The type for this header entry.                                                                                                                                                    | type                               |    Yes   |
| name           | A name for this entry.                                                                                                                                                             | String(64)                         |    Yes   |
| value          | A value for this entry.                                                                                                                                                            | Clob                               |    Yes   |
| std\_item      | If this has a value, it indicates that a standard header text from the language database should be used - and witch one to use.                                                    | std\_item                          |    Yes   |
| std\_item\_col | If this is 1, concatenate the standard item text with header name field, if 2 use header value field instead. If this col is 0, use the empty field - preferably the value column. | std\_item\_col                     |    Yes   |

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

## Indexes

| Fields      | Types | Description |
| ----------- | ----- | ----------- |
| message\_id | FK    | Index       |

## Relationships

| Table                       | Description                                            |
| --------------------------- | ------------------------------------------------------ |
| [ej\_message](./ej-message) | This table contains the messages listed under tickets. |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [Enum MessageHeaderStdItem](/en/automation/crmscript/reference/CRMScript.NetServer.MessageHeaderStdItem.md)
- [Enum MessageHeaderStdItemCol](/en/automation/crmscript/reference/CRMScript.NetServer.MessageHeaderStdItemCol.md)
- [SuperOffice.WebApi.Data.MessageHeaderStdItem](/en/api/reference/webapi/SuperOffice.WebApi.Data.MessageHeaderStdItem.md)
- [ej_message table](/en/database/tables/ej-message.md)
- [SuperOffice.WebApi.Data.MessageHeaderStdItemCol](/en/api/reference/webapi/SuperOffice.WebApi.Data.MessageHeaderStdItemCol.md)
- [SuperOffice.WebApi.Data.TicketMessage](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketMessage.md)
