---
id: object/table/5126
type: object
title: Table 5126 "Sales Comment Line Archive"
summary: Table 5126 "Sales Comment Line Archive" in Base Application (Microsoft.Sales.Archive). 9 fields, 1 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 1b6d9853e156a1b60e1c28044f63a1945c18c7d5d693ab1f8c71f02820ef2861
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Archive/SalesCommentLineArchive.Table.al
    title: src/Layers/W1/BaseApp/Sales/Archive/SalesCommentLineArchive.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: 5126
name: Sales Comment Line Archive
namespace: Microsoft.Sales.Archive
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 2
  events: 1
  subscribers: 0
relations:
  out: 2
  referenced_by: 1
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5126 "Sales Comment Line Archive"

> Table 5126 "Sales Comment Line Archive" in Base Application (Microsoft.Sales.Archive). 9 fields, 1 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26.

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

## Properties

| Property | Value |
|---|---|
| Caption | Sales Comment Line Archive |
| 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 | Document Type | Enum "Sales Comment Document Type" | — | enum [Enum 44 "Sales Comment Document Type"](../enum/44.md) |
| 2 | No. | Code[20] | — |  |
| 3 | Line No. | Integer | — |  |
| 4 | Date | Date | Specifies the version number of the archived document. |  |
| 5 | Code | Code[10] | Specifies the document line number of the quote or order to which the comment applies. |  |
| 6 | Comment | Text[80] | Specifies the line number for the comment. |  |
| 7 | Document Line No. | Integer | — |  |
| 8 | Doc. No. Occurrence | Integer | — |  |
| 9 | Version No. | Integer | — |  |

## Keys

- Key1: Document Type, No., Doc. No. Occurrence, Version No., Document Line No., Line No. (clustered)

## Events published

- `OnSetUpNewLineOnAfterSetFilters(var SalesCommentLine: Record "Sales Comment Line Archive"; Rec: Record "Sales Comment Line Archive")` (integration)

## Procedures

- `SetUpNewLine()`: Initializes a new comment line with the work date if no comment exists for the current date.

## Relations

- drill-down page [Page 5180 "Sales Archive Comment Sheet"](../page/5180.md)
- lookup page [Page 5180 "Sales Archive Comment Sheet"](../page/5180.md)

## Referenced by

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

- [Table 5107 "Sales Header Archive"](../table/5107.md): Comment

## Pages and codeunits on this table

- [Page 5180 "Sales Archive Comment Sheet"](../page/5180.md) (source table)

## Across versions

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

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