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

# reply_template_body table

> Contains the body of the reply templates in different languages

## reply\_template\_body Table (279)

Contains the body of the reply templates in different languages

## Fields

| Name                | Description                                                           | Type                                                              | Nullable |
| ------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------- | :------: |
| id                  | The primary key (auto-incremented)                                    | PK                                                                |    No    |
| reply\_template\_id | Links the body to a reply template                                    | FK [reply\_template](./reply-template.mdx)                        |    No    |
| language\_id        | Links the body to a reply template                                    | FK [cust\_lang](./cust-lang.mdx)                                  |    No    |
| flags               | Identifies the status of the template body. Default, not default etc. | Enum [ReplyTemplateBodyFlags](./enums/replytemplatebodyflags.mdx) |    No    |
| body\_plain         | The plain text version of the body.                                   | Clob                                                              |    Yes   |
| body\_html          | The html version of the body.                                         | Clob                                                              |    Yes   |
| subject             | Subject of the outgoing message. Ignored if not needed                | Clob                                                              |    Yes   |
| headers             | Additional headers. Optional                                          | Clob                                                              |    Yes   |
| body\_sms           | The sms version of the body.                                          | Clob                                                              |    Yes   |

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

## Indexes

| Fields              | Types | Description |
| ------------------- | ----- | ----------- |
| reply\_template\_id | FK    | Index       |
| language\_id        | FK    | Index       |

## Relationships

| Table                               | Description                                                                      |
| ----------------------------------- | -------------------------------------------------------------------------------- |
| [cust\_lang](./cust-lang)           | This table contains entries for customer languages.                              |
| [reply\_template](./reply-template) | Templates for automatic and manual replies to emails/sms organized hierachically |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [reply_template table](/en/database/tables/reply-template.md)
- [Enum ReplyTemplateBodyFlags](/en/automation/crmscript/reference/CRMScript.NetServer.ReplyTemplateBodyFlags.md)
- [Enum values for ReplyTemplateBodyFlags](/en/database/tables/enums/replytemplatebodyflags.md)
- [reply_template_folder table](/en/database/tables/reply-template-folder.md)
- [reply_template_attachment table](/en/database/tables/reply-template-attachment.md)
- [cust_lang table](/en/database/tables/cust-lang.md)
