---
title: "Page 4405 SOA Email Attachments, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/points/
object: https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/
app: "Sales Order Agent"
major: 29
source: https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/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 4405 SOA Email Attachments, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/points/

4 procedures and triggers with a step in src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAEmailAttachments.Page.al, in source order, read from the text, not from a run.

## FileName.OnDrillDown

[Line 37](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L37), trigger.

- [39](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L39) calls `DownloadAttachment`

## FileSize.OnAfterGetRecord

[Line 61](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L61), trigger.

- [63](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L63) calls `FormatFileSize`
- [64](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L64) calls `GetIgnoredReason`

## LoadRecords

[Line 106](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L106), internal.

- [112](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L112) writes [Table 2000000274 Agent Task File](https://jonas-paprotka.de/ref/table/2000000274-agent-task-file/) DeleteAll
- [129](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L129) writes [Table 2000000274 Agent Task File](https://jonas-paprotka.de/ref/table/2000000274-agent-task-file/) Insert

## DownloadAttachment

[Line 134](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L134), local.

- [146](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L146) calls `GetDefaultEncoding`
- [147](https://jonas-paprotka.de/ref/page/4405-soa-email-attachments/source/#L147) calls `SupportedByFileViewer`

## Source

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

JOP-AL, 2026-11-20.
