---
title: "Codeunit 99000783 Prod. Document Attachment Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/
checked: 2026-11-20
changed: 2026-11-04
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 99000783 Prod. Document Attachment Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/points/

17 procedures and triggers with a step in src/Layers/W1/BaseApp/Manufacturing/Document/ProdDocumentAttachmentMgt.Codeunit.al, in source order, read from the text, not from a run.

## OnAfterIsProductionDocumentFlow

[Line 20](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L20), local.

- [22](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L22) calls `IsProductionDocumentFlow`

## OnCopyAttachmentsOnAfterSetFromParameters

[Line 132](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L132), local.

- [159](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L159) calls `TransformAttachmentDocumentTypeValue`
- [172](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L172) calls `TransformAttachmentDocumentTypeValue`

## OnCopyAttachmentsOnAfterSetToParameters

[Line 209](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L209), local.

- [218](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L218) calls `TransformAttachmentDocumentTypeValue`
- [229](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L229) calls `TransformAttachmentDocumentTypeValue`

## OnCopyAttachmentsOnAfterSetToDocumentFilters

[Line 243](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L243), local.

- [248](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L248) validates [Table 1173 Document Attachment](https://jonas-paprotka.de/ref/table/1173-document-attachment/) `Document Type`
- [251](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L251) validates [Table 1173 Document Attachment](https://jonas-paprotka.de/ref/table/1173-document-attachment/) `Document Type`
- [252](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L252) validates [Table 1173 Document Attachment](https://jonas-paprotka.de/ref/table/1173-document-attachment/) `Line No.`

## DocumentAttachmentFlow_ForProdOrderLineInsert

[Line 258](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L258), local.

- [278](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L278) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`
- [282](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L282) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`
- [286](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L286) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`
- [292](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L292) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [292](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L292) calls `GetFeatureTelemetryName`

## DocumentAttachmentFlow_ForProdOrderLineNoChange

[Line 296](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L296), local.

- [307](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L307) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [308](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L308) calls `DocumentAttachmentFlow_ForProdOrderLineInsert`

## DocumentAttachmentFlow_ForProdOrderBomInsert

[Line 312](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L312), local.

- [323](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L323) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [324](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L324) calls `DocumentAttachmentFlow_ForProdOrderLineInsert`

## DocumentAttachmentFlow_ForRoutingNoInsert

[Line 328](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L328), local.

- [339](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L339) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [340](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L340) calls `DocumentAttachmentFlow_ForProdOrderLineInsert`

## DocumentAttachmentFlow_FromProdOrderToProdOrder

[Line 344](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L344), local.

- [352](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L352) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`

## DocumentAttachmentFlow_FromFinishedToReopenedProdOrder

[Line 356](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L356), local.

- [364](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L364) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`

## DocumentAttachmentFlow_FromFinishedToReopenedProdOrderLine

[Line 368](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L368), local.

- [373](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L373) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`

## OnAfterTransformAttachmentDocumentTypeValue

[Line 377](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L377), local.

- [379](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L379) calls `TransformAttachmentDocumentTypeValue`

## DocumentAttachmentFlow_FromProdOrderLineToProdOrderLine

[Line 383](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L383), local.

- [388](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L388) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [389](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L389) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `CopyAttachments`

## DeleteAttachedDocumentsOnAfterDeleteProductionOrder

[Line 393](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L393), local.

- [403](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L403) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [404](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L404) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [404](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L404) calls `GetFeatureTelemetryName`

## DeleteAttachedDocumentsOnAfterDeleteProdOrderLine

[Line 408](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L408), local.

- [419](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L419) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [420](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L420) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [420](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L420) calls `GetFeatureTelemetryName`

## DeleteAttachedDocumentsOnAfterDeleteRoutingHeader

[Line 424](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L424), local.

- [434](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L434) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [435](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L435) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [435](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L435) calls `GetFeatureTelemetryName`

## DeleteAttachedDocumentsOnAfterDeleteProductionBOM

[Line 439](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L439), local.

- [449](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L449) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `DeleteAttachedDocuments`
- [450](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L450) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [450](https://jonas-paprotka.de/ref/codeunit/99000783-prod-document-attachment-mgt/source/#L450) calls `GetFeatureTelemetryName`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
