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

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/points/

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

## GetPrompt

[Line 23](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L23).

- [29](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L29) calls `ReplaceAgentLanguageInPrompt`

## GetAgentLanguage

[Line 71](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L71), local.

- [77](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L77) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetLanguageId`
- [77](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L77) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetUserLanguageCode`

## ReplaceAgentLanguageInPrompt

[Line 82](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L82), local.

- [86](https://jonas-paprotka.de/ref/codeunit/4302-soa-validation-function/source/#L86) calls `GetAgentLanguage`

## Source

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

JOP-AL, 2026-11-20.
