---
id: object/codeunit/7444
type: object
title: Codeunit 7444 "EA Corp Card Error Context"
summary: Codeunit 7444 "EA Corp Card Error Context" in ExpenseAgent (Microsoft.ExpenseAgent). 5 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-12-06T00:48:06.827Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 3a4c7c443a777e906f1e293a878480abf8f504c744e212f98f3cfd8436100a8a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardErrorContext.Codeunit.al
    title: src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardErrorContext.Codeunit.al (releases/29.x)
    date: null
    commit: 4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12147
object_type: codeunit
object_id: 7444
name: EA Corp Card Error Context
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 3
  implements: 0
---

# Codeunit 7444 "EA Corp Card Error Context"

> Codeunit 7444 "EA Corp Card Error Context" in ExpenseAgent (Microsoft.ExpenseAgent). 5 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at 4e6a307c](https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Codeunits/EACorpCardErrorContext.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| SingleInstance | true |

## Procedures

- `ClearErrorInfo()` (internal)
- `SetImportStage(NewImportStage: Text)` (internal)
- `GetImportStage(): Text` (internal)
- `SetErrorInfo(NewErrorInfo: ErrorInfo)` (internal)
- `TryGetErrorInfo(var RetrievedErrorInfo: ErrorInfo): Boolean` (internal)

## Called by

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7432 "EA Corp Card Import Orch"](../codeunit/7432.md) (4 calls: `ProcessProviderImport → SetImportStage`, `RunStatementImport → ClearErrorInfo`, `RunStatementImport → GetImportStage`, …)
- [Codeunit 7422 "EA Corp Card Expense Writer"](../codeunit/7422.md) (2 calls: `RaiseMissingExpenseUserError → SetErrorInfo`, `RaiseMissingPaymentMethodError → SetErrorInfo`)
- [Codeunit 7434 "EA Corp Card Data Exch Prov"](../codeunit/7434.md) (2 calls: `MarkAllRowsRejected → SetErrorInfo`, `RaiseProviderSetupError → SetErrorInfo`)

## Recent changes

- 2026-10-28 [#12147 Bugs/add corp card basics](../../changes/bcapps/12147.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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). The call sections above are our own, per object, from the BC29 call graph. 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: "EA Corp Card Error Context")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
