---
id: object/codeunit/4583
type: object
title: Codeunit 4583 "SO Agent"
summary: Codeunit 4583 "SO Agent" in SalesOrderAgent (Microsoft.Agent.SalesOrderAgent). 1 events. Introduced in BC29, still in BC30. Obsolete (Pending since 27.0).
tier: official
language: en
tags:
  - codeunit
  - salesorderagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: "27.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 53840fe70fead306597843efee427017cdc9b5fea9e447f3c75325be99c07cc9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAgent.codeunit.al
    title: src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAgent.codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 4583
name: SO Agent
namespace: Microsoft.Agent.SalesOrderAgent
app: SalesOrderAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "27.0"
  reason: This codeunit is no longer used.
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 1
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 4583 "SO Agent"

> Codeunit 4583 "SO Agent" in SalesOrderAgent (Microsoft.Agent.SalesOrderAgent). 1 events. Introduced in BC29, still in BC30. Obsolete (Pending since 27.0).

SalesOrderAgent · Microsoft.Agent.SalesOrderAgent · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAgent.codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 27.0 |
| ObsoleteReason | This codeunit is no longer used. |

## Events published

- `OnGetEmailProcessLimitPer24Hours(var limit: Integer)` (integration, obsolete 27.0): Limit cannot be greater than 100

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 27.0, "This codeunit is no longer used."

## Deprecations

- object: Pending 27.0 (#if not CLEAN27), "This codeunit is no longer used."
- procedure OnGetEmailProcessLimitPer24Hours: Pending 27.0, "This event is no longer used. There is no limit on the number of emails that can be processed in 24 hours."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "SO Agent")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
