---
title: "Page 193 Incoming Doc. Attach. FactBox, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/points/
object: https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/
checked: 2026-11-20
changed: 2026-10-05
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/"
---

# Page 193 Incoming Doc. Attach. FactBox, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/points/

19 procedures and triggers with a step in src/Layers/W1/BaseApp/eServices/EDocument/IncomingDocAttachFactBox.Page.al, in source order, read from the text, not from a run.

## Name.OnDrillDown

[Line 33](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L33), trigger.

- [35](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L35) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `NameDrillDown`

## UploadMainAttachment.OnAction

[Line 68](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L68), trigger.

- [70](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L70) calls `UploadSingleAttachment`

## UploadMainAttachment.OnAction

[Line 83](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L83), trigger.

- [86](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L86) calls `UploadMultipleAttachments`

## IncomingDoc.OnAction

[Line 98](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L98), trigger.

- [104](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L104) runs [Page 189 Incoming Document](https://jonas-paprotka.de/ref/page/189-incoming-document/)
- [107](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L107) calls `LoadDataFromIncomingDocument`

## OpenInOneDrive.OnAction

[Line 118](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L118), trigger.

- [131](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L131) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `StripNotsupportChrInFileName`
- [133](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L133) calls [Codeunit 9510 Document Service Management](https://jonas-paprotka.de/ref/codeunit/9510-document-service-management/) `OpenInOneDrive`

## ShareToOneDrive.OnAction

[Line 144](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L144), trigger.

- [157](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L157) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `StripNotsupportChrInFileName`
- [159](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L159) calls [Codeunit 9510 Document Service Management](https://jonas-paprotka.de/ref/codeunit/9510-document-service-management/) `ShareWithOneDrive`

## OpenInFileViewer.OnAction

[Line 171](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L171), trigger.

- [173](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L173) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `NameDrillDown`

## Export.OnAction

[Line 185](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L185), trigger.

- [187](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L187) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `NameDrillDown`

## Export.OnAfterGetRecord

[Line 193](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L193), trigger.

- [198](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L198) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `GetStyleTxt`
- [200](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L200) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `IsGroupOrLink`
- [200](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L200) calls [Codeunit 9560 Document Sharing](https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/) `ShareEnabled`
- [201](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L201) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `IsGroupOrLink`
- [202](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L202) calls [Table 133 Incoming Document Attachment](https://jonas-paprotka.de/ref/table/133-incoming-document-attachment/) `SupportedByFileViewer`

## OnFindRecord

[Line 206](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L206), trigger.

- [213](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L213) calls `FilterWasChanged`
- [217](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L217) calls `LoadDataFromOnFindRecord`

## PrepareIncDocAttachmentBeforeUpload

[Line 238](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L238), local.

- [250](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L250) calls [Table 133 Incoming Document Attachment](https://jonas-paprotka.de/ref/table/133-incoming-document-attachment/) `SetFiltersFromMainRecord`

## UploadSingleAttachment

[Line 258](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L258), local.

- [263](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L263) calls `PrepareIncDocAttachmentBeforeUpload`
- [265](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L265) calls [Table 133 Incoming Document Attachment](https://jonas-paprotka.de/ref/table/133-incoming-document-attachment/) `Import`
- [267](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L267) calls `LoadDataFromIncomingDocument`

## UploadMultipleAttachments

[Line 270](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L270), local.

- [276](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L276) calls `PrepareIncDocAttachmentBeforeUpload`
- [278](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L278) calls [Codeunit 134 Import Attachment - Inc. Doc.](https://jonas-paprotka.de/ref/codeunit/134-import-attachment-inc-doc/) `ImportMultiple`
- [280](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L280) calls `LoadDataFromIncomingDocument`

## LoadDataFromOnFindRecord

[Line 283](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L283).

- [291](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L291) calls `FindIncomingDocumentFromFilters`
- [300](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L300) writes [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) DeleteAll
- [305](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L305) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `InsertFromIncomingDocument`

## FindIncomingDocumentFromFilters

[Line 309](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L309), local.

- [317](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L317) calls [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) `FindByDocumentNoAndPostingDate`

## LoadDataFromRecord

[Line 332](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L332).

- [339](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L339) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [342](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L342) raises `OnLoadDataFromRecordOnBeforeDeleteAll`
- [343](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L343) writes [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) DeleteAll
- [348](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L348) calls `GetIncomingDocumentRecord`
- [349](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L349) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `InsertFromIncomingDocument`
- [351](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L351) raises `OnAfterLoadDataFromRecord`

## LoadDataFromIncomingDocument

[Line 363](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L363).

- [365](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L365) raises `OnLoadDataFromIncomingDocumentOnBeforeDeleteAll`
- [366](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L366) writes [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) DeleteAll
- [367](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L367) calls [Table 137 Inc. Doc. Attachment Overview](https://jonas-paprotka.de/ref/table/137-inc-doc-attachment-overview/) `InsertFromIncomingDocument`

## GetIncomingDocumentRecord

[Line 371](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L371).

- [375](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L375) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [383](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L383) calls `GetIncomingDocumentRecordFromRecordRef`

## GetIncomingDocumentRecordFromRecordRef

[Line 391](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L391), local.

- [393](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L393) calls [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) `FindFromIncomingDocumentEntryNo`
- [395](https://jonas-paprotka.de/ref/page/193-incoming-doc-attach-factbox/source/#L395) calls [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) `FindByDocumentNoAndPostingDate`

## Source

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

JOP-AL, 2026-11-20.
