---
id: object/table/5072
type: object
title: Table 5072 "Campaign Entry"
summary: Table 5072 "Campaign Entry" in Base Application (Microsoft.CRM.Campaign). 13 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 4a85769cb3c0f92fc35c760a83d6310a5a19b476832e8dbc7dd73709c47b10e3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Campaign/CampaignEntry.Table.al
    title: src/Layers/W1/BaseApp/CRM/Campaign/CampaignEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5072
name: Campaign Entry
namespace: Microsoft.CRM.Campaign
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 13
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 9
  referenced_by: 3
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5072 "Campaign Entry"

> Table 5072 "Campaign Entry" in Base Application (Microsoft.CRM.Campaign). 13 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

Base Application · Microsoft.CRM.Campaign · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Campaign/CampaignEntry.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Campaign Entry |
| DataClassification | CustomerContent |

## 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 | Entry No. | Integer | Specifies the number of the entry, as assigned from the specified number series when the entry was created. |  |
| 2 | Campaign No. | Code[20] | — | TableRelation [Table 5071 "Campaign"](../table/5071.md) |
| 3 | Description | Text[100] | Specifies the description of the campaign entry. |  |
| 4 | Date | Date | Specifies the date the campaign entry was recorded. The field is not editable. |  |
| 5 | User ID | Code[50] | — | TableRelation User."User Name"; not editable; DataClassification EndUserIdentifiableInformation |
| 6 | Segment No. | Code[20] | — | TableRelation [Table 5076 "Segment Header"](../table/5076.md) (Segment Header) |
| 7 | Canceled | Boolean | Specifies that the entry has been canceled. |  |
| 8 | No. of Interactions | Integer | Specifies the number of interactions created as part of the campaign entry. The field is not editable. | FlowField: count("Interaction Log Entry" where("Campaign No." = field("Campaign No."), "Campaign Entry No." = field("Entry No."), Canceled = field(Canceled))); not editable |
| 10 | Cost (LCY) | Decimal | Specifies the cost of the campaign entry. The field is not editable. <small>via [Page 5089 "Campaign Entries"](../page/5089.md)</small> | FlowField: sum("Interaction Log Entry"."Cost (LCY)" where("Campaign No." = field("Campaign No."), "Campaign Entry No." = field("Entry No."), Canceled = field(Canceled))); not editable |
| 11 | Duration (Min.) | Decimal | Specifies the duration of the action linked to the campaign entry. The field is not editable. <small>via [Page 5089 "Campaign Entries"](../page/5089.md)</small> | FlowField: sum("Interaction Log Entry"."Duration (Min.)" where("Campaign No." = field("Campaign No."), "Campaign Entry No." = field("Entry No."), Canceled = field(Canceled))); not editable |
| 12 | Salesperson Code | Code[20] | — | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) (Salesperson/Purchaser) |
| 13 | Register No. | Integer | — | TableRelation [Table 5075 "Logged Segment"](../table/5075.md) (Logged Segment) |
| 14 | Document Type | Enum "Interaction Log Entry Document Type" | — | enum [Enum 5099 "Interaction Log Entry Document Type"](../enum/5099.md) |

## Keys

- Key1: Entry No. (clustered)
- Key2: Campaign No., Date, Document Type
- Key3: Register No.

## Procedures

- `CopyFromSegment(SegLine: Record "Segment Line")`
- `ToggleCanceledCheckmark()`
- `SetCanceledCheckmark(CanceledCheckmark: Boolean)`

Plus 1 local procedures.

## Triggers

OnDelete

## Relations

- drill-down page [Page 5089 "Campaign Entries"](../page/5089.md)
- lookup page [Page 5089 "Campaign Entries"](../page/5089.md)
- Salesperson Code: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Cost (LCY): CalcFormula [Table 5065 "Interaction Log Entry"](../table/5065.md)
- Duration (Min.): CalcFormula [Table 5065 "Interaction Log Entry"](../table/5065.md)
- No. of Interactions: CalcFormula [Table 5065 "Interaction Log Entry"](../table/5065.md)
- Campaign No.: TableRelation [Table 5071 "Campaign"](../table/5071.md)
- Register No.: TableRelation [Table 5075 "Logged Segment"](../table/5075.md)
- Segment No.: TableRelation [Table 5076 "Segment Header"](../table/5076.md)

## Referenced by

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

- [Table 5065 "Interaction Log Entry"](../table/5065.md): Campaign Entry No.
- [Table 5075 "Logged Segment"](../table/5075.md): No. of Campaign Entries
- [Table 5077 "Segment Line"](../table/5077.md): Campaign Entry No.

## Pages and codeunits on this table

- [Page 5089 "Campaign Entries"](../page/5089.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC27-28

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: "Campaign Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
