---
id: object/table/43
type: object
title: Table 43 "Purch. Comment Line"
summary: Table 43 "Purch. Comment Line" in Base Application (Microsoft.Purchases.Comment). 7 fields, 7 public procedures, 7 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: 6305b9064945d60340400abba3d050764f83657a043430984d3758d143b26c54
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Comment/PurchCommentLine.Table.al
    title: src/Layers/W1/BaseApp/Purchases/Comment/PurchCommentLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 43
name: Purch. Comment Line
namespace: Microsoft.Purchases.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:
  - ru
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 14
  events: 7
  subscribers: 0
relations:
  out: 2
  referenced_by: 5
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 43 "Purch. Comment Line"

> Table 43 "Purch. Comment Line" in Base Application (Microsoft.Purchases.Comment). 7 fields, 7 public procedures, 7 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Purch. 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 | Document Type | Enum "Purchase Comment Document Type" | — | enum [Enum 43 "Purchase Comment Document Type"](../enum/43.md) |
| 2 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |  |
| 3 | Line No. | Integer | — |  |
| 4 | Date | Date | Specifies the date the comment was created. |  |
| 5 | Code | Code[10] | Specifies a code for the comment. |  |
| 6 | Comment | Text[80] | Specifies the comment itself. |  |
| 7 | Document Line No. | Integer | — |  |

## Keys

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

## Events published

- `OnAfterSetUpNewLine(var PurchCommentLineRec: Record "Purch. Comment Line"; var PurchCommentLineFilter: Record "Purch. Comment Line")` (integration)
- `OnBeforeCopyComments(var PurchCommentLine: Record "Purch. Comment Line"; ToDocumentType: Integer; var IsHandled: Boolean; FromDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])` (integration)
- `OnBeforeCopyLineComments(var PurchCommentLine: Record "Purch. Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLine: Integer)` (integration)
- `OnBeforeCopyLineCommentsFromPurchaseLines(var PurchCommentLine: Record "Purch. Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; var TempPurchaseLineSource: Record "Purchase Line" temporary)` (integration)
- `OnBeforeCopyHeaderComments(var PurchCommentLine: Record "Purch. Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])` (integration)
- `OnBeforeCopyCommentsOnBeforeInsert(var NewPurchCommentLine: Record "Purch. Comment Line"; OldPurchCommentLine: Record "Purch. Comment Line")` (integration)
- `OnSetUpNewLineOnAfterSetFilter(var PurchCommentLineRec: Record "Purch. Comment Line"; var PurchCommentLineFilter: Record "Purch. Comment Line")` (integration)

## Procedures

- `SetUpNewLine()`
- `CopyComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])`
- `CopyLineComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLineNo: Integer)`
- `CopyLineCommentsFromPurchaseLines(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; var TempPurchaseLineSource: Record "Purchase Line" temporary)`
- `CopyHeaderComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])`
- `DeleteComments(DocType: Option; DocNo: Code[20])`
- `ShowComments(DocType: Option; DocNo: Code[20]; DocLineNo: Integer)`

## Relations

- drill-down page [Page 68 "Purch. Comment List"](../page/68.md)
- lookup page [Page 68 "Purch. Comment List"](../page/68.md)

## Referenced by

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

- [Table 120 "Purch. Rcpt. Header"](../table/120.md): Comment
- [Table 122 "Purch. Inv. Header"](../table/122.md): Comment
- [Table 124 "Purch. Cr. Memo Hdr."](../table/124.md): Comment
- [Table 38 "Purchase Header"](../table/38.md): Comment
- [Table 6650 "Return Shipment Header"](../table/6650.md): Comment

## Pages and codeunits on this table

- [Page 66 "Purch. Comment Sheet"](../page/66.md) (source table)
- [Page 68 "Purch. Comment List"](../page/68.md) (source table)

## Across versions

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

## Countries that replace it

[RU](../../localizations/ru.md)

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