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

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/points/

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

## GetSOAInstructions

[Line 20](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L20), internal.

- [38](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L38) calls [Codeunit 2200 Azure Key Vault](https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/) `GetAzureKeyVaultSecret`
- [39](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L39) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`

## GetBroaderItemSearchSystemPrompt

[Line 58](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L58), internal.

- [64](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L64) calls `AddCultureToBroaderItemSearchSystemPrompt`

## AddCultureToBroaderItemSearchSystemPrompt

[Line 69](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L69), local.

- [82](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L82) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetCommunicationLanguageCodeAndFormat`
- [82](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L82) calls [Codeunit 4312 Agent Session](https://jonas-paprotka.de/ref/codeunit/4312-agent-session/) `GetCurrentSessionAgentTaskId`
- [84](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L84) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetLanguageId`
- [85](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L85) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetCultureName`
- [86](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L86) calls `TryFormatInstructionsText`
- [87](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L87) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogError`
- [87](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L87) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`

## GetMailTemplateCheckSystemPrompt

[Line 114](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L114), internal.

- [129](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L129) calls [Codeunit 2200 Azure Key Vault](https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/) `GetAzureKeyVaultSecret`
- [130](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L130) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`
- [134](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L134) calls [Codeunit 2200 Azure Key Vault](https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/) `GetAzureKeyVaultSecret`
- [135](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L135) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetFeatureName`

## GetItemSelectorSystemPrompt

[Line 142](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L142), internal.

- [146](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L146) calls `ReadResourcePrompt`

## GetItemSelectorPrompt

[Line 149](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L149), internal.

- [154](https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/#L154) calls `ReadResourcePrompt`

## Source

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

JOP-AL, 2026-11-20.
