Table 1173 Document Attachment in 28
- App
- Base Application
- Namespace
- Microsoft.Foundation.Attachment
Fields, 17Keys, 2Procedures, 23Events, 18
Versions171819202122232425262728latest
Source29
Fields, 17
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | ID | Integer | - |
| 2 | Table ID | Integer | - |
| 3 | No. | Code[20] | - |
| 4 | Attached Date | DateTime | - |
| 5 | File Name | Text[250] | - |
| 6 | File Type | Enum Document Attachment File Type | - |
| 7 | File Extension | Text[30] | - |
| 8 | Document Reference ID | Media | - |
| 9 | Attached By | Guid | - |
| 10 | User | Code[50] | - |
| 11 | Document Flow Purchase | Boolean | - |
| 12 | Document Flow Sales | Boolean | - |
| 13 | Document Type | Enum Attachment Document Type | - |
| 14 | Line No. | Integer | - |
| 15 | VAT Report Config. Code | Enum VAT Report Configuration | - |
| 20 | Document Flow Service | Boolean | - |
| 21 | Document Flow Production | Boolean | - |
Keys, 2
| Name | Fields | Obsolete |
|---|---|---|
| Key1, clustered | Table ID, No., Document Type, Line No., ID | - |
| Key2 | Document Reference ID | - |
Procedures, 23
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| Export | (Boolean) | Text | public | - |
| HasPostedDocumentAttachment | (Variant) | Boolean | public | - |
| SaveAttachment | (RecordRef, Text, Codeunit Temp Blob) | public | - | |
| SaveAttachmentFromStream | (InStream, RecordRef, Text) | public | - | |
| InitFieldsFromRecRef | (RecordRef) | public | - | |
| FindUniqueFileName | (Text, Text) | Text[250] | public | - |
| VATReturnSubmissionAttachmentsExist | (Record VAT Report Header) | Boolean | public | - |
| VATReturnResponseAttachmentsExist | (Record VAT Report Header) | Boolean | public | - |
| DownloadZipFileWithVATReturnSubmissionAttachments | (Enum VAT Report Configuration, Code[20]) | Boolean | public | - |
| DownloadZipFileWithVATReturnResponseAttachments | (Enum VAT Report Configuration, Code[20]) | Boolean | public | - |
| SaveAttachment | (RecordRef, Text, Codeunit Temp Blob, Boolean) | public | - | |
| SaveAttachmentFromStream | (InStream, RecordRef, Text, Boolean) | public | - | |
| ImportAttachment | (InStream, Text) | public | - | |
| HasContent | () | Boolean | public | - |
| ImportFromStream | (InStream, Text) | public | - | |
| ExportToStream | (var OutStream) | public | - | |
| GetAsTempBlob | (var Codeunit Temp Blob) | public | - | |
| GetContentType | () | Text[100] | public | - |
| OpenInOneDrive | (Enum Document Sharing Intent) | public | - | |
| SaveAttachment | (List, RecordRef) | public | - | |
| SaveAttachment | (List, RecordRef, TextEncoding) | public | - | |
| SupportedByFileViewer | () | Boolean | public | - |
| ViewFile | () | public | - |
Events, 18
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnBeforeExportAttachment | (var Record Document Attachment) | - |
| Integration event | OnBeforeInsertAttachment | (var Record Document Attachment, var RecordRef) | - |
| Integration event | OnAfterInitFieldsFromRecRef | (var Record Document Attachment, var RecordRef) | - |
| Integration event | OnBeforeExport | (var Record Document Attachment, var Boolean, Boolean) | - |
| Integration event | OnBeforeSaveAttachment | (var Record Document Attachment, var RecordRef, var Text, var Codeunit Temp Blob) | - |
| Integration event | OnBeforeSaveAttachmentFromStream | (var Record Document Attachment, var RecordRef, var Text, var InStream) | - |
| Integration event | OnInsertOnBeforeCheckDocRefID | (var Record Document Attachment, var Boolean) | - |
| Integration event | OnInsertAttachmentOnBeforeImportStream | (var Record Document Attachment, InStream, Text, var Boolean) | - |
| Integration event | OnBeforeHasContent | (var Record Document Attachment, var Boolean, var Boolean) | - |
| Integration event | OnBeforeImportFromStream | (var Record Document Attachment, var InStream, var Text, var Boolean) | - |
| Integration event | OnBeforeExportToStream | (var Record Document Attachment, var OutStream, var Boolean) | - |
| Integration event | OnBeforeGetAsTempBlob | (var Record Document Attachment, var Codeunit Temp Blob, var Boolean) | - |
| Integration event | OnBeforeOpenInOneDrive | (var Record Document Attachment, Enum Document Sharing Intent, var Boolean) | - |
| Integration event | OnBeforeGetContentType | (var Record Document Attachment, var Text[100], var Boolean) | - |
| Integration event | OnBeforeValidateDocumentFlowPurchase | (var Record Document Attachment, Record Document Attachment, var Boolean) | - |
| Integration event | OnBeforeValidateDocumentFlowSales | (var Record Document Attachment, Record Document Attachment, var Boolean) | - |
| Integration event | OnBeforeValidateDocumentFlowService | (var Record Document Attachment, Record Document Attachment, var Boolean) | - |
| Integration event | OnAfterIsPostedDocument | (Integer, var Boolean) | - |