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

# QuoteVersionAttachment table

> Actual attachments to a quote

## QuoteVersionAttachment Table (447)

Actual attachments to a quote

## Fields

| Name                       | Description                                                         | Type                                  | Nullable |
| -------------------------- | ------------------------------------------------------------------- | ------------------------------------- | :------: |
| quoteversionattachment\_id | Primary key                                                         | PK                                    |    No    |
| QuoteVersionId             | Link to QuoteVersion                                                | FK [QuoteVersion](./quoteversion.mdx) |    No    |
| DocumentId                 | Link to document                                                    | FK [document](./document.mdx)         |    No    |
| Included                   | Will this attachment be included in the next 'Send Quote' operation | Bool                                  |    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/3ZhivzBeXAvFeVZx/media/loc/en/database/tables/QuoteVersionAttachment.png?fit=max&auto=format&n=3ZhivzBeXAvFeVZx&q=85&s=63f7642dd37020697314a5b221340eec" alt="QuoteVersionAttachment table relationship diagram" width="771" height="743" data-path="media/loc/en/database/tables/QuoteVersionAttachment.png" />

## Indexes

| Fields                     | Types  | Description |
| -------------------------- | ------ | ----------- |
| QuoteVersionId, DocumentId | FK, FK | Unique      |

## Relationships

| Table                          | Description                                                                                                                                                                                                                                                                                                                               |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate)       | Employees, resources and other users - except for External persons                                                                                                                                                                                                                                                                        |
| [document](./document)         | Documents, this table is an extension of the Appointment table.  There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record and a record in VisibleFor specifying who may see this. |
| [QuoteVersion](./quoteversion) | There may be multiple Versions of a Quote, with one of them active                                                                                                                                                                                                                                                                        |

## Replication Flags

* Area Management controlled table. Contents replicated to satellites and traveller databases.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [QuoteVersionAttachment](/en/api/archive-providers/reference/quoteversionattachment.md)
- [SuperOffice.WebApi.Data.QuoteVersionAttachment](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteVersionAttachment.md)
- [Create Or Update Quote Version Attachments](/en/api/reference/restful/agent/quote_agent/create-or-update-quote-version-attachments.md)
- [QuoteVersion table](/en/database/tables/quoteversion.md)
- [SuperOffice.WebApi.Agents.QuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.QuoteAgent.md)
- [SuperOffice.WebApi.Agents.IQuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IQuoteAgent.md)
