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

# SaleTypeQuoteAttachment table

> Default attachments to quotes linked to sales of this type

## SaleTypeQuoteAttachment Table (446)

Default attachments to quotes linked to sales of this type

## Fields

| Name                        | Description                                                       | Type                            | Nullable |
| --------------------------- | ----------------------------------------------------------------- | ------------------------------- | :------: |
| saletypequoteattachment\_id | Primary key                                                       | PK                              |    No    |
| SaleTypeId                  | Link to sale type                                                 | FK [SaleType](./saletype.mdx)   |    No    |
| DocumentId                  | Link to document                                                  | FK [document](./document.mdx)   |    No    |
| DefaultIncluded             | Should this be a standard attachment (default state is 'include') | 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/SaleTypeQuoteAttachment.png?fit=max&auto=format&n=3ZhivzBeXAvFeVZx&q=85&s=5de5d48dbcf6def014190defc84489a3" alt="SaleTypeQuoteAttachment table relationship diagram" width="734" height="726" data-path="media/loc/en/database/tables/SaleTypeQuoteAttachment.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## 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. |
| [SaleType](./saletype)   | Type of sale - large solution, incremental, whatever fits the organization                                                                                                                                                                                                                                                                |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [SaleTypeQuoteAttachment](/en/api/archive-providers/reference/saletypequoteattachment.md)
- [Delete Sale Type Quote Attachment](/en/api/reference/restful/agent/quote_agent/delete-sale-type-quote-attachment.md)
- [Add Sale Type Quote Attachment](/en/api/reference/restful/agent/quote_agent/add-sale-type-quote-attachment.md)
- [Toggle Sale Type Quote Attachment Default Included](/en/api/reference/restful/agent/quote_agent/toggle-sale-type-quote-attachment-default-included.md)
- [SuperOffice.WebApi.Data.Quote AddSaleTypeQuoteAttachmentRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_AddSaleTypeQuoteAttachmentRequest.md)
- [SuperOffice.WebApi.Data.Quote DeleteSaleTypeQuoteAttachmentRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_DeleteSaleTypeQuoteAttachmentRequest.md)
