---
id: object/table/5061
type: object
title: Table 5061 "Rlshp. Mgt. Comment Line"
summary: Table 5061 "Rlshp. Mgt. Comment Line" in Base Application (Microsoft.CRM.Comment). 8 fields, 1 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
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: 2cbb57eb78cf8d6e1e92699f7f0d424b2c49c58095171c1e84cc36c20069581a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Comment/RlshpMgtCommentLine.Table.al
    title: src/Layers/W1/BaseApp/CRM/Comment/RlshpMgtCommentLine.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: 5061
name: Rlshp. Mgt. Comment Line
namespace: Microsoft.CRM.Comment
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 2
  events: 1
  subscribers: 0
relations:
  out: 8
  referenced_by: 7
  pages: 2
  extended_by: 0
  event_subscribers: 4
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5061 "Rlshp. Mgt. Comment Line"

> Table 5061 "Rlshp. Mgt. Comment Line" in Base Application (Microsoft.CRM.Comment). 8 fields, 1 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Rlshp. Mgt. Comment Line |
| 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 | Table Name | Enum "Rlshp. Mgt. Comment Line Table Name" | — | enum [Enum 5061 "Rlshp. Mgt. Comment Line Table Name"](../enum/5061.md) |
| 2 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation [Table 5050 "Contact"](../table/5050.md), [Table 5059 "Web Source"](../table/5059.md), [Table 5071 "Campaign"](../table/5071.md) (if ("Table Name" = const(Contact)) Contact else if ("Table Name" = const(Campaign)) Campaign else if ("Table Name" = const("To-do")) "To-do" else if ("Table Name" = const("Web Source")) "Web Source" else if ("Table Name" = const("Sales Cycle")) "Sales Cycle" else if ("Table Name" = const("Sales Cycl...) |
| 3 | Sub No. | Integer | Specifies the number of the stage within the sales cycle. | TableRelation [Table 5091 "Sales Cycle Stage"](../table/5091.md) (if ("Table Name" = const("Sales Cycle Stage")) "Sales Cycle Stage".Stage where("Sales Cycle Code" = field("No."))) |
| 4 | Line No. | Integer | — |  |
| 5 | Date | Date | Specifies the date the comment was created. |  |
| 6 | Code | Code[10] | Specifies the code for the comment. |  |
| 7 | Comment | Text[80] | Specifies the comment itself. |  |
| 8 | Last Date Modified | Date | — | not editable |

## Keys

- Key1: Table Name, No., Sub No., Line No. (clustered)

## Events published

- `OnAfterSetUpNewLine(var RlshpMgtCommentLineRec: Record "Rlshp. Mgt. Comment Line"; var RlshpMgtCommentLineFilter: Record "Rlshp. Mgt. Comment Line")` (integration)

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 5066 "Rlshp. Msgt. Comm. Line Subs"](../codeunit/5066.md) SetContactDateTimeModifiedOnAfterCommentLineDelete
- OnAfterInsertEvent: [Codeunit 5066 "Rlshp. Msgt. Comm. Line Subs"](../codeunit/5066.md) SetContactDateTimeModifiedOnAfterCommentLineInsert
- OnAfterModifyEvent: [Codeunit 5066 "Rlshp. Msgt. Comm. Line Subs"](../codeunit/5066.md) SetContactDateTimeModifiedOnAfterCommentLineModify
- OnAfterRenameEvent: [Codeunit 5066 "Rlshp. Msgt. Comm. Line Subs"](../codeunit/5066.md) SetContactDateTimeModifiedOnAfterCommentLineRename

## Procedures

- `SetUpNewLine()`

## Triggers

OnModify

## Relations

- drill-down page [Page 5118 "Rlshp. Mgt. Comment List"](../page/5118.md)
- lookup page [Page 5118 "Rlshp. Mgt. Comment List"](../page/5118.md)
- No.: TableRelation [Table 5050 "Contact"](../table/5050.md) (conditional)
- No.: TableRelation [Table 5059 "Web Source"](../table/5059.md) (conditional)
- No.: TableRelation [Table 5071 "Campaign"](../table/5071.md) (conditional)
- No.: TableRelation [Table 5080 "To-do"](../table/5080.md) (conditional)
- No.: TableRelation [Table 5090 "Sales Cycle"](../table/5090.md) (conditional)
- Sub No.: TableRelation [Table 5091 "Sales Cycle Stage"](../table/5091.md)

## Referenced by

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

- [Table 5050 "Contact"](../table/5050.md): Comment
- [Table 5059 "Web Source"](../table/5059.md): Comment
- [Table 5071 "Campaign"](../table/5071.md): Comment
- [Table 5080 "To-do"](../table/5080.md): Comment
- [Table 5090 "Sales Cycle"](../table/5090.md): Comment
- [Table 5091 "Sales Cycle Stage"](../table/5091.md): Comment
- [Table 5092 "Opportunity"](../table/5092.md): Comment

## Pages and codeunits on this table

- [Page 5072 "Rlshp. Mgt. Comment Sheet"](../page/5072.md) (source table)
- [Page 5118 "Rlshp. Mgt. Comment List"](../page/5118.md) (source table)

## Across versions

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

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: "Rlshp. Mgt. Comment Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
