Objects/Tables/Table 1173 Document Attachment
Table 1173 Document Attachment in 17
Jonas Paprotka, Base Application 17.5.22499.32099, checked
- App
- Base Application
Fields, 14Keys, 1Procedures, 6Events, 4
Versions171819202122232425262728latest
Source29
Fields, 14
| 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 | Option | - |
| 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 | - |
Keys, 1
| Name | Fields | Obsolete |
|---|
| Key1, clustered | Table ID, No., Document Type, Line No., ID | - |
Procedures, 6
| 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 | - |
Events, 4
| Kind | Name | Parameters | Obsolete |
|---|
| Integration event | OnBeforeExportAttachment | (var Record Document Attachment) | - |
| Integration event | OnBeforeInsertAttachment | (var Record Document Attachment, var RecordRef) | - |
| Integration event | OnBeforeSaveAttachment | (var Record Document Attachment, var RecordRef, Text, var Codeunit Temp Blob) | - |
| Integration event | OnBeforeSaveAttachmentFromStream | (var Record Document Attachment, var RecordRef, Text, var InStream) | - |