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 ea08af5e · 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.
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.