---
title: "Codeunit 4419 SOA Send Reply, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/points/
object: https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/
app: "Sales Order Agent"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/
checked: 2026-11-20
changed: 2026-10-07
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 4419 SOA Send Reply, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/points/

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

## OnRun

[Line 22](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L22), trigger.

- [41](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L41) calls [Table 4325 SOA Setup](https://jonas-paprotka.de/ref/table/4325-soa-setup/) `GetBasedOnAgentUserSecurityID`
- [44](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L44) calls [Codeunit 4307 Agent Message](https://jonas-paprotka.de/ref/codeunit/4307-agent-message/) `GetText`
- [45](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L45) calls `GetMappedContactEmail`
- [48](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L48) calls `ValidateMessageAccess`
- [49](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L49) calls `GetMappedReplyRecipients`
- [50](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L50) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `CreateReply`
- [52](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L52) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `CreateReplyAll`
- [54](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L54) calls `AddMessageAttachments`
- [57](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L57) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `Reply`
- [60](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L60) calls [Codeunit 8901 Email](https://jonas-paprotka.de/ref/codeunit/8901-email/) `ReplyAll`
- [63](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L63) calls [Codeunit 4307 Agent Message](https://jonas-paprotka.de/ref/codeunit/4307-agent-message/) `SetStatusToSent`

## GetMappedContactEmail

[Line 82](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L82), local.

- [90](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L90) calls [Codeunit 4305 SOA Filters Impl.](https://jonas-paprotka.de/ref/codeunit/4305-soa-filters-impl/) `IsContactOverrideTrusted`
- [91](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L91) calls `ErrorMappedContact`
- [93](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L93) calls `ErrorMappedContact`
- [97](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L97) calls `ErrorMappedContact`
- [99](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L99) calls `ErrorMappedContact`
- [105](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L105) calls [Codeunit 4305 SOA Filters Impl.](https://jonas-paprotka.de/ref/codeunit/4305-soa-filters-impl/) `FindContactByAlternateEmail`
- [107](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L107) calls `ErrorMappedContact`

## TryGetMappedReplyCcRecipients

[Line 116](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L116), internal.

- [123](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L123) calls `GetMappedContactEmail`
- [126](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L126) calls `GetMappedReplyRecipients`

## ValidateMessageAccess

[Line 133](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L133), local.

- [137](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L137) calls [Table 4325 SOA Setup](https://jonas-paprotka.de/ref/table/4325-soa-setup/) `IsAuthorizedUserSecurityID`

## GetMappedReplyRecipients

[Line 154](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L154), local.

- [171](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L171) calls `ErrorMappedContact`
- [175](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L175) calls `ErrorMappedContact`
- [177](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L177) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `Get`
- [178](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L178) calls `ErrorMappedContact`
- [180](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L180) calls [Codeunit 8894 Email Account](https://jonas-paprotka.de/ref/codeunit/8894-email-account/) `GetAllAccounts`
- [184](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L184) calls `ErrorMappedContact`
- [187](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L187) calls `AddRecipientIfUnique`
- [189](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L189) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `GetRecipients`
- [191](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L191) calls `IsOriginalReplyRecipientExcluded`
- [192](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L192) calls `AddRecipientIfUnique`
- [194](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L194) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `GetRecipients`
- [196](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L196) calls `IsOriginalReplyRecipientExcluded`
- [197](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L197) calls `AddRecipientIfUnique`

## AddMessageAttachments

[Line 222](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L222), local.

- [236](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L236) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogError`
- [236](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L236) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`
- [242](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L242) calls [Codeunit 8904 Email Message](https://jonas-paprotka.de/ref/codeunit/8904-email-message/) `AddAttachment`
- [243](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L243) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [243](https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/source/#L243) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`

## Source

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

JOP-AL, 2026-11-20.
