codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 5503 "Graph Mgt - Attachment Buffer"

Base Application · Microsoft.Integration.Graph

Across versions

  1. BC23-24present
  2. BC258 procedures added
  3. BC26-30unchanged

Neighbourhood 12 connected objects and pages

Page 30039 "APIV2 - Attachments" (calls, 12 links)APIV2 - AttachmentsPage 30080 "APIV2 - Document Attachments" (calls, 10 links)APIV2 - Document AttachmentsCodeunit 4100 "Temp Blob" (calls, 7 links)Temp BlobCodeunit 419 "File Management" (calls, 7 links)File ManagementPage 20039 "APIV1 - Attachments" (calls, 7 links)APIV1 - AttachmentsPage 20040 "APIV1 - G/L Entry Attachments" (calls, 6 links)Codeunit 10 "Type Helper" (calls, 3 links)Type HelperCodeunit 5477 "Sales Invoice Aggregator" (calls, 3 links)Sales Invoice AggregatorCodeunit 5529 "Purch. Inv. Aggregator" (calls, 3 links)Purch. Inv. AggregatorCodeunit 701 "Data Type Management" (calls, 3 links)Data Type ManagementCodeunit 5508 "Graph Mgt - Sal. Cr. Memo Buf." (calls, 2 links)Graph Mgt - Sal. Cr. Memo Buf.Codeunit 5511 "Graph Mgt - Purch. Cr. Memo" (calls, 2 links)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Integration.Graph · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Incoming Document Attachment” = rimd, tabledata “Tenant Media” = r

Procedures

  • LoadDocumentAttachments(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; DocumentFilter: Text)
  • ConvertDocumentTypeToDocumentAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var DocumentAttachment: Record "Document Attachment")
  • LoadAttachments(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; DocumentIdFilter: Text; AttachmentIdFilter: Text)
  • LoadAttachmentsWithDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; DocumentIdFilter: Text; AttachmentIdFilter: Text; DocumentTypeFilter: Text)
  • LoadAttachmentsWithoutDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; AttachmentIdFilter: Text) + BC25
  • PropagateInsertAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateInsertAttachmentSafe(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateInsertAttachmentSafeWithDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateInsertAttachmentSafeWithoutDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary) + BC25
  • PropagateModifyAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateModifyAttachmentWithDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateModifyAttachmentWithoutDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary) + BC25
  • PropagateDeleteAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary)
  • PropagateDeleteAttachmentWithDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary)
  • PropagateDeleteAttachmentWithoutDocumentType(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary) + BC25
  • DeleteLinkedAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; var IncomingDocument: Record "Incoming Document")
  • UpdateAttachments(var TempOldAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempNewAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; DocumentId: Guid)
  • InsertFromTempAttachmentEntityBufferToDocumentAttachment(var DocumentAttachment: Record "Document Attachment"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • ModifyFromTempAttachmentEntityBufferToDocumentAttachment(var DocumentAttachment: Record "Document Attachment"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var TempFieldBuffer: Record "Field Buffer" temporary)
  • SetDocumentAttachmentNo(var DocumentAttachment: Record "Document Attachment"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary)
  • CopyAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var UnlinkedAttachment: Record "Unlinked Attachment"; GenerateNewId: Boolean)
  • RegisterFieldSet(FieldNo: Integer; var TempFieldBuffer: Record "Field Buffer" temporary)
  • GetDocumentIdFromAttachmentId(AttachmentId: Guid): Guid
  • GetDocumentTypeFromAttachmentIdAndDocumentId(AttachmentId: Guid; DocumentId: Guid): Enum "Attachment Entity Buffer Document Type"
  • TransferFromIncomingDocumentAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var IncomingDocumentAttachment: Record "Incoming Document Attachment")
  • TransferFromUnlinkedAttachment(var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var UnlinkedAttachment: Record "Unlinked Attachment")
  • GetContentLength(var TempBlob: Codeunit "Temp Blob"): Integer

Plus 52 local procedures.

Triggers

OnRun

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” (7 calls: GetContentLength → CreateInStream, GetContentLength → HasValue, LoadAttachmentsToBuffer → FromRecord, …)
  • Codeunit 419 “File Management” (7 calls: FileNameToNameAndExtension → GetExtension, FileNameToNameAndExtension → GetFileNameWithoutExtension, InsertFromTempAttachmentEntityBufferToDocumentAttachment → GetExtension, …)
  • Codeunit 10 “Type Helper” (3 calls: FindParentDocumentSafe → Evaluate, TransferToIncomingDocumentAttachment → TransferFieldsWithValidate, TransferToUnlinkedAttachment → TransferFieldsWithValidate)
  • Codeunit 5477 “Sales Invoice Aggregator” (3 calls: FindParentDocumentSafe → GetSalesInvoiceHeaderFromId, FindParentDocumentWithDocumentTypeSafe → GetSalesInvoiceHeaderFromId, GetDocumentId → GetSalesInvoiceHeaderId)
  • Codeunit 5529 “Purch. Inv. Aggregator” (3 calls: FindParentDocumentSafe → GetPurchaseInvoiceHeaderFromId, FindParentDocumentWithDocumentTypeSafe → GetPurchaseInvoiceHeaderFromId, GetDocumentId → GetPurchaseInvoiceHeaderId)
  • Codeunit 701 “Data Type Management” (3 calls: GetDocumentAttachmentDocumentId → FindFieldByName, GetGLEntryNo → FindFieldByName, SetDocumentAttachmentNo → FindFieldByName)
  • Codeunit 5508 “Graph Mgt - Sal. Cr. Memo Buf.” (2 calls: FindParentDocumentWithDocumentTypeSafe → GetSalesCrMemoHeaderFromId, GetDocumentId → GetSalesCrMemoHeaderId)
  • Codeunit 5511 “Graph Mgt - Purch. Cr. Memo” (2 calls: FindParentDocumentWithDocumentTypeSafe → GetPurchaseCrMemoHeaderFromId, GetDocumentId → GetPurchaseCrMemoHeaderId)

Called by

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: "codeunit", object_name: "Graph Mgt - Attachment Buffer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources