---
id: object/page/1173
type: object
title: Page 1173 "Document Attachment Details"
summary: Page 1173 "Document Attachment Details" in Base Application (Microsoft.Foundation.Attachment). 3 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC26, BC29.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 219acdd9d591077e5c3f584efea643d982c64690ba581c516689c0d0bb0b5cdd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Attachment/DocumentAttachmentDetails.Page.al
    title: src/Layers/W1/BaseApp/Foundation/Attachment/DocumentAttachmentDetails.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10278
object_type: page
object_id: 1173
name: Document Attachment Details
caption: Attached Documents
namespace: Microsoft.Foundation.Attachment
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 2
  subscribers: 0
  controls: 9
  actions: 8
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 1
  event_subscribers: 3
  calls: 5
  called_by: 1
  implements: 0
---

# Page 1173 "Document Attachment Details"

> Page 1173 "Document Attachment Details" in Base Application (Microsoft.Foundation.Attachment). 3 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC26, BC29.

Base Application · Microsoft.Foundation.Attachment · captioned "Attached Documents" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Attachment/DocumentAttachmentDetails.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Attached Documents |
| SourceTable | Document Attachment |
| PageType | List |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Group | Name | [File Name](../table/1173.md#fields) | Specifies the filename of the attachment. <small>from the table field</small> |
|  | File Extension | [File Extension](../table/1173.md#fields) | Specifies the file extension of the attachment. <small>from the table field</small> |
|  | File Type | [File Type](../table/1173.md#fields) | Specifies the type of document that the attachment is. <small>from the table field</small> |
|  | User | [User](../table/1173.md#fields) | Specifies the user who attached the document. <small>from the table field</small> |
|  | Attached Date | [Attached Date](../table/1173.md#fields) | Specifies the date when the document was attached. <small>from the table field</small> |
|  | Document Flow Purchase | [Document Flow Purchase](../table/1173.md#fields) | Specifies if the attachment must flow to transactions. <small>from the table field</small> |
|  | Document Flow Sales | [Document Flow Sales](../table/1173.md#fields) | Specifies if the attachment must flow to transactions. <small>from the table field</small> |
|  | Document Flow Service | [Document Flow Service](../table/1173.md#fields) | Specifies if the attachment must flow to transactions. <small>from the table field</small> |
|  | Document Flow Production | [Document Flow Production](../table/1173.md#fields) | Specifies if the attachment must flow to transactions. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Open in OneDrive | 'Copy the file to your Business Central folder in OneDrive and open it in a new window so you can manage or share the file.', Comment = 'OneDrive should not be translated' |  |
|  | Edit in OneDrive | 'Copy the file to your Business Central folder in OneDrive and open it in a new window so you can edit the file.', Comment = 'OneDrive should not be translated' |  |
|  | Share | 'Copy the file to your Business Central folder in OneDrive and share the file. You can also see who it''s already shared with.', Comment = 'OneDrive should not be translated' |  |
|  | View | View the file. You will be able to download the file from the viewer control. Works only on limited number of file types. |  |
|  | Download | Download the file to your device. Depending on the file, you will need an app to view or edit the file. |  |
|  | Attach from email | Attach files directly from email. |  |
|  | Attach files | Upload one or more files |  |
|  | Attach a file | Upload one file |  |

## Events published

- `OnAfterOpenForRecRef(var DocumentAttachment: Record "Document Attachment"; var RecRef: RecordRef; var FlowFieldsEditable: Boolean; var PurchaseDocumentFlow: Boolean)` (integration)
  - subscribers: [Codeunit 20414 "Qlty. Attachment Integration"](../codeunit/20414.md) HandleOnAfterOpenForRecRef, [Codeunit 20578 "Subc. Attachment Details Ext."](../codeunit/20578.md) OnAfterOpenForRecRef, [Codeunit 8059 "Sub. Contracts General Mgt."](../codeunit/8059.md) FilterDocumentAttachmentOnRecRefPrimaryKey
- `OnBeforeImportWithFilter(var TempBlob: Codeunit "Temp Blob"; var FileName: Text; var IsHandled: Boolean; RecRef: RecordRef)` (integration)

## Procedures

- `InitiateAttachFromEmail()`
- `InitiateUploadFile()`
- `OpenForRecRef(RecRef: RecordRef)`

Plus 2 local procedures.

## Triggers

OnInit, OnAfterGetCurrRecord, OnNewRecord

## Relations

- source table [Table 1173 "Document Attachment"](../table/1173.md)

## Extended by

- [Page extension 6102 "EDocDocumentAttachmentDetails"](../pageextension/6102.md)

## 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"](../codeunit/1173.md) (6 calls: `OpenForRecRef → IsFlowFieldsEditable`, `OpenForRecRef → IsProductionDocumentFlow`, `OpenForRecRef → IsPurchaseDocumentFlow`, …)
- [Codeunit 1630 "Office Management"](../codeunit/1630.md) (4 calls: `InitiateAttachFromEmail → InitiateSendToAttachments`, `OnAfterGetCurrRecord → IsAvailable`, `OnAfterGetCurrRecord → IsPopOut`, …)
- [Codeunit 9560 "Document Sharing"](../codeunit/9560.md) (2 calls: `OnAfterGetCurrRecord → EditEnabledForFile`, `OnAfterGetCurrRecord → ShareEnabled`)
- [Codeunit 1631 "Office Host Management"](../codeunit/1631.md) (1 call: `OnInit → EmailHasAttachments`)
- [Codeunit 419 "File Management"](../codeunit/419.md) (1 call: `ImportWithFilter → BLOBImportWithFilter`)

## Called by

- [Codeunit 1173 "Document Attachment Mgmt"](../codeunit/1173.md) (1 call: `ShowDocumentAttachments → (object)`)

## Recent changes

- 2026-08-21 [#10278 Subcontracting Operation Notes](../../changes/bcapps/10278.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC26, BC29

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: "page", object_name: "Document Attachment Details")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
