---
id: object/table/5065
type: object
title: Table 5065 "Interaction Log Entry"
summary: Table 5065 "Interaction Log Entry" in Base Application (Microsoft.CRM.Interaction). 45 fields, 14 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-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: 07971450f4e433c4b30d56f17ef38f079858028eab504c5cf4fc924ffe7ebe74
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Interaction/InteractionLogEntry.Table.al
    title: src/Layers/W1/BaseApp/CRM/Interaction/InteractionLogEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/marketing-set-up-email-logging
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/relationship-management/manage-sales-opportunities
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5065
name: Interaction Log Entry
namespace: Microsoft.CRM.Interaction
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 45
  procedures: 25
  events: 9
  subscribers: 0
relations:
  out: 18
  referenced_by: 25
  pages: 3
  extended_by: 0
  event_subscribers: 1
  calls: 12
  called_by: 0
  implements: 0
---

# Table 5065 "Interaction Log Entry"

> Table 5065 "Interaction Log Entry" in Base Application (Microsoft.CRM.Interaction). 45 fields, 14 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-28.

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

Learn documents this table through its pages: [Page 5076 "Interaction Log Entries"](../page/5076.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Interaction Log Entry |
| DataClassification | CustomerContent |
| Permissions | tabledata "Interaction Log Entry" = rimd, tabledata "Inter. Log Entry Comment Line" = rd |

## 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 | Contact No. | Code[20] | Specifies the number of the contact involved in this interaction. This field is not editable. | TableRelation [Table 5050 "Contact"](../table/5050.md) |
| 3 | Contact Company No. | Code[20] | Specifies the number of the contact company. | TableRelation [Table 5050 "Contact"](../table/5050.md) (Contact where(Type = const(Company))) |
| 4 | Date | Date | Specifies the date that you have entered in the Date field in the Create Interaction wizard or the Segment window when you created the interaction. The field is not editable. |  |
| 5 | Description | Text[100] | Specifies the description of the interaction. |  |
| 6 | Information Flow | Option | Specifies the direction of information flow recorded by the interaction. There are two options: Outbound (the information was received by your contact) and Inbound (the information was received by your company). | OptionCaption: ,Outbound,Inbound |
| 7 | Initiated By | Option | Specifies who initiated the interaction. There are two options: Us (the interaction was initiated by your company) and Them (the interaction was initiated by your contact). | OptionCaption: ,Us,Them |
| 8 | Attachment No. | Integer | — | TableRelation [Table 5062 "Attachment"](../table/5062.md) |
| 9 | Cost (LCY) | Decimal | Specifies the cost of the interaction. <small>via [Page 5076 "Interaction Log Entries"](../page/5076.md)</small> | not editable |
| 10 | Duration (Min.) | Decimal | Specifies the duration of the interaction. <small>via [Page 5076 "Interaction Log Entries"](../page/5076.md)</small> | not editable |
| 11 | User ID | Code[50] | Specifies the ID of the user who logged this entry. This field is not editable. | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 12 | Interaction Group Code | Code[10] | Specifies the code of the interaction group used to create this interaction. This field is not editable. | TableRelation [Table 5063 "Interaction Group"](../table/5063.md) (Interaction Group) |
| 13 | Interaction Template Code | Code[10] | Specifies the code for the interaction template used to create the interaction. This field is not editable. | TableRelation [Table 5064 "Interaction Template"](../table/5064.md) (Interaction Template) |
| 14 | Campaign No. | Code[20] | Specifies the number of the campaign (if any) to which the interaction is linked. This field is not editable. | TableRelation [Table 5071 "Campaign"](../table/5071.md) |
| 15 | Campaign Entry No. | Integer | Specifies the number of the campaign entry to which the interaction log entry is linked. | TableRelation [Table 5072 "Campaign Entry"](../table/5072.md) ("Campaign Entry" where("Campaign No." = field("Campaign No."))) |
| 16 | Campaign Response | Boolean | Specifies whether the interaction records a response to a campaign. |  |
| 17 | Campaign Target | Boolean | Specifies whether the interaction is applied to contacts that are part of the campaign target. This field is not editable. |  |
| 18 | Segment No. | Code[20] | Specifies the number of the segment. This field is valid only for interactions created for segments, and is not editable. |  |
| 19 | Evaluation | Enum "Interaction Evaluation" | Specifies the evaluation of the interaction. There are five options: Very Positive, Positive, Neutral, Negative, and Very Negative. | enum [Enum 5078 "Interaction Evaluation"](../enum/5078.md); not editable |
| 20 | Time of Interaction | Time | Specifies the time when the interaction was created. This field is not editable. |  |
| 21 | Attempt Failed | Boolean | Specifies whether the interaction records an failed attempt to reach the contact. This field is not editable. |  |
| 23 | To-do No. | Code[20] | Specifies the number of the task if the interaction has been created to complete a task. This field is not editable. | TableRelation [Table 5080 "To-do"](../table/5080.md) (To-do) |
| 24 | Salesperson Code | Code[20] | Specifies the code for the salesperson who carried out the interaction. This field is not editable. | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) (Salesperson/Purchaser) |
| 25 | Delivery Status | Enum "Interaction Delivery Status" | Specifies the status of the delivery of the attachment. There are three options: | enum [Enum 5083 "Interaction Delivery Status"](../enum/5083.md) |
| 26 | Canceled | Boolean | Specifies whether the interaction has been canceled. The field is not editable. |  |
| 27 | Correspondence Type | Enum "Correspondence Type" | Specifies the type of correspondence of the attachment in the interaction template. This field is not editable. | enum [Enum 5076 "Correspondence Type"](../enum/5076.md) |
| 28 | Contact Alt. Address Code | Code[10] | — | TableRelation [Table 5051 "Contact Alt. Address"](../table/5051.md) ("Contact Alt. Address".Code where("Contact No." = field("Contact No."))) |
| 29 | Logged Segment Entry No. | Integer | — | TableRelation [Table 5075 "Logged Segment"](../table/5075.md) (Logged Segment) |
| 30 | Document Type | Enum "Interaction Log Entry Document Type" | Specifies the type of document if there is one that the interaction log entry records. You cannot change the contents of this field. | enum [Enum 5099 "Interaction Log Entry Document Type"](../enum/5099.md) |
| 31 | Document No. | Code[20] | Specifies the number of the document (if any) that the interaction log entry records. |  |
| 32 | Version No. | Integer | — |  |
| 33 | Doc. No. Occurrence | Integer | — |  |
| 34 | Contact Via | Text[80] | Specifies the telephone number that you used when calling the contact. |  |
| 35 | Send Word Docs. as Attmt. | Boolean | — |  |
| 36 | Interaction Language Code | Code[10] | Specifies the language code for the interaction for the interaction log. The code is copied from the language code of the interaction template, if one is specified. | TableRelation [Table 8 "Language"](../table/8.md) |
| 37 | E-Mail Logged | Boolean | Email Logged <small>caption</small> |  |
| 38 | Subject | Text[100] | Specifies the subject text that will be used for this interaction. |  |
| 39 | Contact Name | Text[100] | Specifies the name of the contact for which an interaction has been logged. | FlowField: lookup(Contact.Name where("No." = field("Contact No."))); not editable |
| 40 | Contact Company Name | Text[100] | Specifies the name of the contact company for which an interaction has been logged. | FlowField: lookup(Contact.Name where("No." = field("Contact Company No."), Type = const(Company))); not editable |
| 43 | Comment | Boolean | Specifies that a comment exists for this interaction log entry. | FlowField: exist("Inter. Log Entry Comment Line" where("Entry No." = field("Entry No."))); not editable |
| 44 | Opportunity No. | Code[20] | Specifies the number of the opportunity to which the interaction is linked. | TableRelation [Table 5092 "Opportunity"](../table/5092.md) |
| 45 | Postponed | Boolean | — |  |
| 46 | Word Template Code | Code[30] | — |  |
| 47 | Merged | Boolean | — | DataClassification SystemMetadata |
| 48 | Modified Word Template | Integer | — | DataClassification SystemMetadata |

## Keys

- Key1: Entry No. (clustered)
- Key2: Contact Company No., Contact No., Date, Postponed
- Key3: Contact Company No., Date, Contact No., Canceled, Initiated By, Attempt Failed, Postponed
- Key4: Interaction Group Code, Date
- Key5: Interaction Group Code, Canceled, Date, Postponed
- Key6: Interaction Template Code, Date
- Key7: Interaction Template Code, Canceled, Date, Postponed
- Key8: Canceled, Campaign No., Campaign Entry No., Date, Postponed
- Key9: Campaign No., Campaign Entry No., Date, Postponed
- Key10: Salesperson Code, Date, Postponed
- Key11: Canceled, Salesperson Code, Date, Postponed
- Key12: Logged Segment Entry No., Postponed
- Key13: Attachment No.
- Key14: To-do No., Date
- Key15: Contact No., Correspondence Type, E-Mail Logged, Subject, Postponed
- Key16: Campaign No., Campaign Target
- Key17: Campaign No., Contact Company No., Campaign Target, Postponed
- Key18: Opportunity No., Date

## Events published

- `OnAfterCopyFromSegment(var InteractionLogEntry: Record "Interaction Log Entry"; SegmentLine: Record "Segment Line")` (integration)
- `OnAfterShowDocument(var InteractionLogEntry: Record "Interaction Log Entry")` (integration)
- `OnBeforeOpenAttachment(var InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean; var Attachment: Record Attachment)` (integration)
- `OnBeforeShowDocument(var InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean)` (integration)
  - subscribers: [Codeunit 6467 "Serv. Interaction Log Mgt."](../codeunit/6467.md) OnBeforeShowDocument
- `OnBeforeSetCanceledCheckmark(var InteractionLogEntry: Record "Interaction Log Entry"; CanceledCheckmark: Boolean; RemoveUniqueAttachment: Boolean; var IsHandled: Boolean)` (integration)
- `OnAfterOpenAttachment(var InteractionLogEntry: Record "Interaction Log Entry"; Attachment: Record Attachment; var SegmentLine: Record "Segment Line")` (integration)
- `OnOpenAttachmentOnBeforeShowAttachment(var InteractionLogEntry: Record "Interaction Log Entry"; var SegmentLine: Record "Segment Line"; var Attachment: Record Attachment)` (integration)
- `OnResumeInteractionOnBeforeStartWizard(InteractionLogEntry: Record "Interaction Log Entry"; var SegmentLine: Record "Segment Line"; var IsHandled: Boolean)` (integration)
- `OnResumeInteractionOnAfterDateValidation(var TempSegmentLine: Record "Segment Line" temporary)` (integration)

## Procedures

- `InsertRecord()`
- `AssignNewOpportunity()`
- `CanCreateOpportunity(): Boolean`
- `CopyFromSegment(SegLine: Record "Segment Line")`
- `CreateInteraction()`
- `CreateTask()`
- `OpenAttachment()`
- `ToggleCanceledCheckmark()`
- `SetCanceledCheckmark(CanceledCheckmark: Boolean; RemoveUniqueAttachment: Boolean)`
- `UniqueAttachment(): Boolean`
- `ShowDocument()`
- `EvaluateInteraction()`
- `ResumeInteraction()`
- `GetEntryTitle(): Text`

Plus 2 local procedures.

## Triggers

OnDelete

## Relations

- drill-down page [Page 5076 "Interaction Log Entries"](../page/5076.md)
- lookup page [Page 5076 "Interaction Log Entries"](../page/5076.md)
- Salesperson Code: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Contact Company Name: CalcFormula [Table 5050 "Contact"](../table/5050.md)
- Contact Name: CalcFormula [Table 5050 "Contact"](../table/5050.md)
- Contact Company No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Contact No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Contact Alt. Address Code: TableRelation [Table 5051 "Contact Alt. Address"](../table/5051.md)
- Attachment No.: TableRelation [Table 5062 "Attachment"](../table/5062.md)
- Interaction Group Code: TableRelation [Table 5063 "Interaction Group"](../table/5063.md)
- Interaction Template Code: TableRelation [Table 5064 "Interaction Template"](../table/5064.md)
- Campaign No.: TableRelation [Table 5071 "Campaign"](../table/5071.md)
- Campaign Entry No.: TableRelation [Table 5072 "Campaign Entry"](../table/5072.md)
- Logged Segment Entry No.: TableRelation [Table 5075 "Logged Segment"](../table/5075.md)
- To-do No.: TableRelation [Table 5080 "To-do"](../table/5080.md)
- Opportunity No.: TableRelation [Table 5092 "Opportunity"](../table/5092.md)
- Comment: CalcFormula [Table 5123 "Inter. Log Entry Comment Line"](../table/5123.md)
- Interaction Language Code: TableRelation [Table 8 "Language"](../table/8.md)

## Referenced by

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

- [Table 5050 "Contact"](../table/5050.md): Cost (LCY), Date of Last Interaction, Duration (Min.), Last Date Attempted, No. of Interactions
- [Table 5071 "Campaign"](../table/5071.md): Contacts Responded, Cost (LCY), Duration (Min.), Target Contacts Contacted
- [Table 13 "Salesperson/Purchaser"](../table/13.md): Cost (LCY), Duration (Min.), No. of Interactions
- [Table 5063 "Interaction Group"](../table/5063.md): Cost (LCY), Duration (Min.), No. of Interactions
- [Table 5064 "Interaction Template"](../table/5064.md): Cost (LCY), Duration (Min.), No. of Interactions
- [Table 5072 "Campaign Entry"](../table/5072.md): Cost (LCY), Duration (Min.), No. of Interactions
- [Table 5075 "Logged Segment"](../table/5075.md): No. of Interactions
- [Table 5092 "Opportunity"](../table/5092.md): No. of Interactions
- [Table 5106 "Interaction Merge Data"](../table/5106.md): Log Entry Number
- [Table 5123 "Inter. Log Entry Comment Line"](../table/5123.md): Entry No.

## Pages and codeunits on this table

- [Page 5073 "Contact Int. Entries Subform"](../page/5073.md) (source table)
- [Page 5076 "Interaction Log Entries"](../page/5076.md) (source table)
- [Page 5082 "Postponed Interactions"](../page/5082.md) (source table)

## Calls

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 700 "Page Management"](../codeunit/700.md) (2 calls: `ShowDocument → PageRun`, `ShowDocument → PageRunList`)
- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (2 calls: `InsertRecord → GetNextSeqNo`, `InsertRecord → RebaseSeqNo`)
- [Codeunit 1299 "Web Request Helper"](../codeunit/1299.md) (1 call: `OpenAttachment → IsHttpUrl`)
- [Codeunit 7030 "Campaign Target Group Mgt"](../codeunit/7030.md) (1 call: `OnDelete → DeleteContfromTargetGr`)
- [Page 438 "Issued Reminder"](../page/438.md) (1 call: `ShowDocument → (object)`)
- [Page 450 "Issued Finance Charge Memo"](../page/450.md) (1 call: `ShowDocument → (object)`)
- [Page 5159 "Sales Order Archive"](../page/5159.md) (1 call: `ShowDocument → (object)`)
- [Page 5162 "Sales Quote Archive"](../page/5162.md) (1 call: `ShowDocument → (object)`)
- [Page 5164 "Purchase Quote Archive"](../page/5164.md) (1 call: `ShowDocument → (object)`)
- [Page 5167 "Purchase Order Archive"](../page/5167.md) (1 call: `ShowDocument → (object)`)
- [Page 6620 "Blanket Sales Order Archive"](../page/6620.md) (1 call: `ShowDocument → (object)`)
- [Page 6623 "Blanket Purchase Order Archive"](../page/6623.md) (1 call: `ShowDocument → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-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). 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: "table", object_name: "Interaction Log Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
