---
id: object/table/7421
type: object
title: Table 7421 "EA Corp Card"
summary: Table 7421 "EA Corp Card" in ExpenseAgent (Microsoft.ExpenseAgent). 10 fields, 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: bbfe1954a5ef1342fc34d2db56e2100940fe024377cbb31aa9fd6c731c267de5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCard.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCard.Table.al (releases/29.x)
    date: null
    commit: 4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/13587
    - change/bcapps/12147
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-configuration-page
      title: Set Up Expense Agent in Business Central
      label: possibly related
      why: Corporate card data for Expense Agent setup and configuration.
      by: model
object_type: table
object_id: 7421
name: EA Corp Card
caption: Corp Card
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: 10
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 5
  referenced_by: 4
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7421 "EA Corp Card"

> Table 7421 "EA Corp Card" in ExpenseAgent (Microsoft.ExpenseAgent). 10 fields, 1 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · captioned "Corp Card" · BC29-30 · [source at 4e6a307c](https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/CorporateCard/Tables/EACorpCard.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Corp Card |
| Access | Internal |
| DataClassification | CustomerContent |
| LookupPageId | EA Corp Card Cards |
| DrillDownPageId | EA Corp Card Cards |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Card Id | Code[50] | Specifies the internal Business Central identifier for the card, not its card number. Statement files must not contain this identifier. | DataClassification AccountData |
| 2 | Provider Code | Code[20] | Specifies the provider code for the card. | TableRelation [Table 7426 "EA Corp Card Provider"](../table/7426.md) ("EA Corp Card Provider".Code); DataClassification SystemMetadata |
| 3 | External Card Ref | Code[50] | Specifies the external reference for the card. | DataClassification AccountData |
| 4 | Masked Card No. | Text[30] | Specifies the masked card number ending in its last four digits. Imports use those digits together with the provider to identify the internal card. | DataClassification AccountData |
| 5 | Expense User No. | Code[20] | Specifies the expense user number associated with the card. | TableRelation [Table 6923 "Expense User"](../table/6923.md) ("Expense User"."No."); DataClassification EndUserPseudonymousIdentifiers |
| 6 | Currency Code | Code[10] | Specifies the currency code for the card. | TableRelation Currency.Code; DataClassification AccountData |
| 7 | Blocked | Boolean | Specifies whether the card is blocked. | DataClassification SystemMetadata |
| 8 | Valid From | Date | Specifies the date from which the card is valid. | DataClassification AccountData |
| 9 | Valid To | Date | Specifies the date until which the card is valid. | DataClassification AccountData |
| 11 | Provider Short Name | Text[4] | Specifies the short name of the corporate card provider. | FlowField: lookup("EA Corp Card Provider"."Short Name" where(Code = field("Provider Code"))); not editable |

## Keys

- PK: Card Id (clustered)
- ProviderCardRef: Provider Code, External Card Ref
- ExpenseUser: Expense User No.

## Procedures

- `GetLastFourDigits(): Text[4]` (internal)

## Triggers

OnDelete

## Relations

- drill-down page [Page 7431 "EA Corp Card Cards"](../page/7431.md)
- lookup page [Page 7431 "EA Corp Card Cards"](../page/7431.md)
- Expense User No.: TableRelation [Table 6923 "Expense User"](../table/6923.md)
- Provider Short Name: CalcFormula [Table 7426 "EA Corp Card Provider"](../table/7426.md)
- Provider Code: TableRelation [Table 7426 "EA Corp Card Provider"](../table/7426.md)

## Referenced by

4 fields in 4 objects relate to this table (TableRelation or CalcFormula).

- [Table 6900 "Expense"](../table/6900.md): Corporate Card Id
- [Table 6907 "Expense Report Line"](../table/6907.md): Corporate Card Id
- [Table 6916 "Posted Expense Report Line"](../table/6916.md): Corporate Card Id
- [Table 7428 "EA Corp Card Trans"](../table/7428.md): Card Id

## Pages and codeunits on this table

- [Page 7431 "EA Corp Card Cards"](../page/7431.md) (source table)
- [Page 7450 "EA Corp Card Lookup"](../page/7450.md) (source table)
- [Page 7451 "Expense Corporate Cards API"](../page/7451.md) (source table)

## Recent changes

- 2026-11-16 [#13587 Update Corp Card manual selection](../../changes/bcapps/13587.md) (main, BC30, feature)
- 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

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Set Up Expense Agent in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-configuration-page) — possibly related: Corporate card data for Expense Agent setup and configuration. (model-linked)

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: "table", object_name: "EA Corp Card")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
