Codeunit 99000783 "Prod. Document Attachment Mgt."
Base Application · Microsoft.Manufacturing.Document
Across versions
- BC23-25not present
- BC26added
- BC2721 procedures changed
- BC282 procedures added
- BC29-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Manufacturing.Document · BC26-30 · source at 4e6a307c · facts from BC29
Event subscriptions
- OnAfterIsProductionDocumentFlow subscribes to Codeunit “Document Attachment Mgmt” OnAfterIsProductionDocumentFlow
- OnAfterIsTableDocument subscribes to Codeunit “Document Attachment Mgmt” OnAfterTableIsDocument
- OnAfterGetRefTable subscribes to Codeunit “Document Attachment Mgmt” OnAfterGetRefTable
- OnAfterTableHasNumberFieldPrimaryKey subscribes to Codeunit “Document Attachment Mgmt” OnAfterTableHasNumberFieldPrimaryKey
- OnAfterTableHasDocTypePrimaryKey subscribes to Codeunit “Document Attachment Mgmt” OnAfterTableHasDocTypePrimaryKey
- OnAfterTableHasLineNumberPrimaryKey subscribes to Codeunit “Document Attachment Mgmt” OnAfterTableHasLineNumberPrimaryKey
- OnCopyAttachmentsOnAfterSetFromParameters subscribes to Codeunit “Document Attachment Mgmt” OnCopyAttachmentsOnAfterSetFromParameters
- OnCopyAttachmentsOnAfterSetDocumentFlowFilter subscribes to Codeunit “Document Attachment Mgmt” OnCopyAttachmentsOnAfterSetDocumentFlowFilter
- OnCopyAttachmentsOnAfterSetToParameters subscribes to Codeunit “Document Attachment Mgmt” OnCopyAttachmentsOnAfterSetToParameters
- OnCopyAttachmentsOnAfterSetToDocumentFilters subscribes to Codeunit “Document Attachment Mgmt” OnCopyAttachmentsOnAfterSetToDocumentFilters
- DocumentAttachmentFlow_ForProdOrderLineInsert subscribes to Table “Prod. Order Line” OnAfterInsertEvent
- DocumentAttachmentFlow_ForProdOrderLineNoChange subscribes to Table “Prod. Order Line” OnAfterValidateEvent (Item No.)
- DocumentAttachmentFlow_ForProdOrderBomInsert subscribes to Table “Prod. Order Line” OnAfterValidateEvent (Production BOM No.)
- DocumentAttachmentFlow_ForRoutingNoInsert subscribes to Table “Prod. Order Line” OnAfterValidateEvent (Routing No.)
- DocumentAttachmentFlow_FromProdOrderToProdOrder subscribes to Codeunit “Prod. Order Status Management” OnAfterTransProdOrder
- DocumentAttachmentFlow_FromFinishedToReopenedProdOrder subscribes to Codeunit “Prod. Order Status Management” OnAfterTransferReopenProdOrder
- DocumentAttachmentFlow_FromFinishedToReopenedProdOrderLine subscribes to Codeunit “Prod. Order Status Management” OnAfterTransferReopenProdOrderLine
- OnAfterTransformAttachmentDocumentTypeValue subscribes to Codeunit “Document Attachment Mgmt” OnAfterTransformAttachmentDocumentTypeValue
- DocumentAttachmentFlow_FromProdOrderLineToProdOrderLine subscribes to Codeunit “Prod. Order Status Management” OnAfterToProdOrderLineModify
- DeleteAttachedDocumentsOnAfterDeleteProductionOrder subscribes to Table “Production Order” OnAfterDeleteEvent
- DeleteAttachedDocumentsOnAfterDeleteProdOrderLine subscribes to Table “Prod. Order Line” OnAfterDeleteEvent
- DeleteAttachedDocumentsOnAfterDeleteRoutingHeader subscribes to Table “Routing Header” OnAfterDeleteEvent
- DeleteAttachedDocumentsOnAfterDeleteProductionBOM subscribes to Table “Production BOM Header” OnAfterDeleteEvent
Procedures
IsProductionDocumentFlow(TableNo: Integer): Boolean(internal)
Plus 2 local procedures.
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 1173 “Document Attachment Mgmt” (13 calls:
DeleteAttachedDocumentsOnAfterDeleteProdOrderLine → DeleteAttachedDocuments,DeleteAttachedDocumentsOnAfterDeleteProductionBOM → DeleteAttachedDocuments,DeleteAttachedDocumentsOnAfterDeleteProductionOrder → DeleteAttachedDocuments, …) - Codeunit 8703 “Feature Telemetry” (5 calls:
DeleteAttachedDocumentsOnAfterDeleteProdOrderLine → LogUptake,DeleteAttachedDocumentsOnAfterDeleteProductionBOM → LogUptake,DeleteAttachedDocumentsOnAfterDeleteProductionOrder → LogUptake, …)
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, which Prod. Document Attachment Mgt. implements. (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). 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: "Prod. Document Attachment Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.