Table 133 "Incoming Document Attachment"
Base Application · Microsoft.EServices.EDocument
Across versions
- BC23present
- BC242 events changed
- BC25unchanged
- BC261 fields removed, 1 procedures added
- BC27unchanged
- BC281 fields changed
- BC29-30unchanged
Neighbourhood 19 connected objects and pages
Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Incoming Document Attachment |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Incoming Document Entry No. | Integer | — | TableRelation Table 130 “Incoming Document” (Incoming Document) |
| 2 | Line No. | Integer | — | |
| 3 | Created Date-Time | DateTime | — | |
| 4 | Created By User Name | Code[50] | — | DataClassification EndUserIdentifiableInformation |
| 5 | Name | Text[250] | — | |
| 6 | Type | Option | — | OptionCaption: ,Image,PDF,Word,Excel,PowerPoint,Email,XML,Other |
| 7 | File Extension | Text[30] | — | |
| 8 | Content Δ BC28 | BLOB | Specifies the content of the attachment. | |
| 9 | Document No. | Code[20] | — | |
| 10 | Posting Date | Date | — | |
| 11 | Document Table No. Filter | Integer | — | FlowFilter |
| 12 | Document Type Filter | Enum “Incoming Document Type” | — | FlowFilter; enum Enum 133 “Incoming Document Type” |
| 13 | Document No. Filter | Code[20] | — | FlowFilter |
| 14 | Journal Template Name Filter | Code[20] | — | FlowFilter |
| 15 | Journal Batch Name Filter | Code[20] | — | FlowFilter |
| 16 | Journal Line No. Filter | Integer | — | FlowFilter |
| 17 | Default | Boolean | — | |
| 18 | Use for OCR | Boolean | — | |
| 19 | External Document Reference | Text[50] | — | |
| 20 | OCR Service Document Reference | Text[50] | — | |
| 21 | Generated from OCR | Boolean | — | not editable |
| 22 | Main Attachment | Boolean | — |
Keys
- Key1: Incoming Document Entry No., Line No. (clustered)
- Key2: Document No., Posting Date
Events published
OnAttachBinaryFile()Δ BC24 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnBinaryFileAttached
OnGetBinaryContent(var TempBlob: Codeunit "Temp Blob"; IncomingDocumentEntryNo: Integer)Δ BC24 (integration)OnBeforeExtractHeaderFields(var TempFieldBuffer: Record "Field Buffer" temporary; var IncomingDocument: Record "Incoming Document")(integration)OnBeforeExport(var IncomingDocumentAttachment: Record "Incoming Document Attachment")(integration)OnBeforeSetFiltersFromMainRecord(var MainRecordRef: RecordRef; var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 6468 “Serv. Doc. Exchange Mgt.” OnBeforeSetFiltersFromMainRecord
OnAfterSetValueOnExtractHeaderField(var IncomingDocument: Record "Incoming Document"; FieldNumber: Integer)(integration)OnBeforeFindDataExchType(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IsHandled: Boolean)(integration)OnBeforeNewAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IsHandled: Boolean)(integration)OnBeforeImport(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IsImported: Boolean; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 5509 “Graph Mgt - Inc Doc Attachment” HandleOnAfterDelete
- OnAfterInsertEvent: Codeunit 5509 “Graph Mgt - Inc Doc Attachment” HandleOnAfterInsert
- OnAfterModifyEvent: Codeunit 5509 “Graph Mgt - Inc Doc Attachment” HandleOnAfterUpdate
- OnAfterRenameEvent: Codeunit 5509 “Graph Mgt - Inc Doc Attachment” HandleOnAfterRename
- OnBeforeDeleteEvent: Codeunit 5579 “Digital Voucher Impl.” CheckIncomingDocumentOnBeforeDeleteEvent
Procedures
NewAttachment()NewAttachmentFromGenJnlLine(GenJournalLine: Record "Gen. Journal Line")NewAttachmentFromSalesDocument(SalesHeader: Record "Sales Header")NewAttachmentFromPurchaseDocument(PurchaseHeader: Record "Purchase Header")NewAttachmentFromDocument(EntryNo: Integer; TableID: Integer; DocumentType: Option; DocumentNo: Code[20])NewAttachmentFromPurchaseDocument(PurchaseHeader: Record "Purchase Header"; FileName: Text[250]; var TempBlob: Codeunit "Temp Blob")NewAttachmentFromDocument(EntryNo: Integer; TableID: Integer; DocumentType: Option; DocumentNo: Code[20]; FileName: Text[250]; var TempBlob: Codeunit "Temp Blob")NewAttachmentFromPostedDocument(DocumentNo: Code[20]; PostingDate: Date)Import(): BooleanImport(RethrowError: Boolean): BooleanExport(DefaultFileName: Text; ShowFileDialog: Boolean): TextGetContent(var TempBlob: Codeunit "Temp Blob"): BooleanDeleteAttachment()SendToOCR()GetFullName(): TextExtractHeaderFields(var XMLRootNode: DotNet XmlNode; var IncomingDocument: Record "Incoming Document")SetFiltersFromMainRecord(var MainRecordRef: RecordRef; var IncomingDocumentAttachment: Record "Incoming Document Attachment")AddFieldToFieldBuffer(var TempFieldBuffer: Record "Field Buffer" temporary; FieldID: Integer)SendNotifActionCompleted()SetContentFromBlob(TempBlob: Codeunit "Temp Blob")SupportedByFileViewer(): Boolean+ BC26 (internal)
Plus 9 local procedures.
Triggers
OnDelete, OnInsert, OnModify
Relations
- Incoming Document Entry No.: TableRelation Table 130 “Incoming Document”
Pages and codeunits on this table
- Page 2123 “O365 Incoming Doc. Att. Pict.” (source table)
- Codeunit 1215 “Data Exch. Type Selector” (codeunit runs on it)
- Codeunit 134 “Import Attachment - Inc. Doc.” (codeunit runs on it)
Extended by
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4100 “Temp Blob” (8 calls:
GetContent → FromRecord,GetContent → HasValue,SendToOCR → FromRecord, …) - Codeunit 6224 “XML DOM Management” (3 calls:
ExtractHeaderField → AddNamespaces,ExtractHeaderField → FindNodeTextNs,UpdateIncomingDocumentHeaderFields → LoadXMLNodeFromInStream) - Codeunit 1173 “Document Attachment Mgmt” (2 calls:
SupportedByFileViewer → IsSupportedByFileViewerExtension,SupportedByFileViewer → IsSupportedByFileViewerFileName) - Codeunit 1294 “OCR Service Mgt.” (2 calls:
ExtractHeaderField → DateConvertYYYYMMDD2XML,SendToOCR → UploadAttachment) - Codeunit 500 “Enum Assignment Management” (2 calls:
SetFiltersFromMainRecord → GetPurchIncomingDocumentType,SetFiltersFromMainRecord → GetSalesIncomingDocumentType) - Codeunit 1203 “Import XML File to Data Exch.” (1 call:
ExtractHeaderField → EscapeMissingNamespacePrefix) - Codeunit 1215 “Data Exch. Type Selector” (1 call:
FindDataExchType → (object)) - Codeunit 134 “Import Attachment - Inc. Doc.” (1 call:
NewAttachment → (object)) - Codeunit 419 “File Management” (1 call:
Export → BLOBExport) - Codeunit 701 “Data Type Management” (1 call:
SetFiltersFromMainRecord → FindFieldByName)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Incoming Document Attachment"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.