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

# NSQuoteVersionAttachment

> Attachment documents for a given version of a Quote.

Attachment documents for a given version of a Quote.

## Constructors

### NSQuoteVersionAttachment()

```crmscript theme={null}
NSQuoteVersionAttachment
```

Initializes a new instance of the NSQuoteVersionAttachment class.

## Methods

## GetDocumentId()

```crmscript theme={null}
Integer GetDocumentId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Link to document.

**Example:**

```crmscript theme={null}
NSQuoteVersionAttachment thing;
Integer documentId = thing.GetDocumentId();
```

## GetIncluded()

```crmscript theme={null}
Bool GetIncluded()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Will this attachment be included in the next 'Send Quote' operation.

**Example:**

```crmscript theme={null}
NSQuoteVersionAttachment thing;
Bool included = thing.GetIncluded();
```

## SetDocumentId(Integer)

```crmscript theme={null}
Void SetDocumentId(Integer documentId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionAttachment thing;
Integer documentId;
thing.SetDocumentId(documentId);
```

## SetIncluded(Bool)

```crmscript theme={null}
Void SetIncluded(Bool included)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionAttachment thing;
Bool included;
thing.SetIncluded(included);
```


## Related topics

- [NSQuoteAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteAgent.md)
- [QuoteVersionAttachment](/en/api/archive-providers/reference/quoteversionattachment.md)
- [Include Quote Version Attachment](/en/api/reference/restful/agent/quote_agent/include-quote-version-attachment.md)
- [Toggle Quote Version Attachment Included](/en/api/reference/restful/agent/quote_agent/toggle-quote-version-attachment-included.md)
- [QuoteVersionAttachment table](/en/database/tables/quoteversionattachment.md)
- [Create Or Update Quote Version Attachments](/en/api/reference/restful/agent/quote_agent/create-or-update-quote-version-attachments.md)
