---
title: "Codeunit 4584 SOA Recovery, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/points/
object: https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/
app: "Sales Order Agent"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/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/"
---

# Codeunit 4584 SOA Recovery, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/points/

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

## OnRun

[Line 21](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L21), trigger.

- [23](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L23) calls `RunSOARecovery`

## RunSOARecovery

[Line 30](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L30), internal.

- [43](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L43) calls [Codeunit 4587 SOA Impl](https://jonas-paprotka.de/ref/codeunit/4587-soa-impl/) `RemoveScheduledTasksIfAgentNotActive`
- [47](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L47) calls [Codeunit 7771 Azure OpenAI](https://jonas-paprotka.de/ref/codeunit/7771-azure-openai/) `IsEnabled`
- [48](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L48) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogError`
- [48](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L48) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`
- [53](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L53) calls [Codeunit 4321 Agent](https://jonas-paprotka.de/ref/codeunit/4321-agent/) `IsActive`
- [54](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L54) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogError`
- [54](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L54) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`
- [66](https://jonas-paprotka.de/ref/codeunit/4584-soa-recovery/source/#L66) calls [Codeunit 4587 SOA Impl](https://jonas-paprotka.de/ref/codeunit/4587-soa-impl/) `ScheduleSOAgent`

## Source

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

JOP-AL, 2026-11-20.
