Codeunit 6169 "E-Doc. Attachment Processor"
EDocument · Microsoft.eServices.EDocument
Across versions
- BC23-28not present
- BC29-30present
EDocument · Microsoft.eServices.EDocument · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Document Attachment” = rimd |
Event subscriptions
- OnCopyAttachmentsOnAfterSetFromParameters subscribes to Codeunit “Document Attachment Mgmt” OnCopyAttachmentsOnAfterSetFromParameters
- OnAfterTableHasNumberFieldPrimaryKeyForEDocs subscribes to Codeunit “Document Attachment Mgmt” OnAfterTableHasNumberFieldPrimaryKey
- OnAfterSetDocumentAttachmentFiltersForRecRef subscribes to Codeunit “Document Attachment Mgmt” OnAfterSetDocumentAttachmentFiltersForRecRef
- OnAfterGetRefTableForEDocs subscribes to Codeunit “Document Attachment Mgmt” OnAfterGetRefTable
- FilterEDocumentAttachmentsOnBeforeDocumentAttachmentDetailsRunModal subscribes to Page “Doc. Attachment List FactBox” OnBeforeDocumentAttachmentDetailsRunModal
- OnAfterGetRecRefFailForEDocs subscribes to Page “Doc. Attachment List Factbox” OnAfterGetRecRefFail
- OnBeforeInsertAttachmentForEDocs subscribes to Table “Document Attachment” OnBeforeInsertAttachment
Procedures
MoveAttachmentsAndDelete(EDocument: Record "E-Document"; NewDocument: RecordId)(internal): Move attachments from E-Document to NewDocument. Clean up any attachments stored on EDocument.Insert(EDocument: Record "E-Document"; DocStream: InStream; FileName: Text): Insert Document Attachment record from stream and filename Framework moves E-Document attachments to created documents at the end of import processDeleteAll(EDocument: Record "E-Document"; RecordRef: RecordRef)(internal): Delete all document attachments for EDocument or purchase header
Plus 1 local procedures.
Recent changes
- 2026-10-13 #12554 [Main] - User encounters a “record is not open” error when attaching a document to a posted sales shipment in Dynamics 365 (Base Application v28) (main, BC30, fix)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Manage Attachments, Links, and Notes on Cards and Documents — possibly related: Documents managing attachments on Business Central cards and documents including file uploads (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). 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: "codeunit", object_name: "E-Doc. Attachment Processor"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.