---
id: object/table/5883
type: object
title: Table 5883 "Phys. Invt. Comment Line"
summary: Table 5883 "Phys. Invt. Comment Line" in Base Application (Microsoft.Inventory.Counting.Comment). 7 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: 56b8a034757f48c9b81b3bf15a0aa580bb9eb3ea555ef45d2933752c1619fbd3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Counting/Comment/PhysInvtCommentLine.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Counting/Comment/PhysInvtCommentLine.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: 5883
name: Phys. Invt. Comment Line
namespace: Microsoft.Inventory.Counting.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: 7
  procedures: 2
  events: 1
  subscribers: 0
relations:
  out: 7
  referenced_by: 4
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5883 "Phys. Invt. Comment Line"

> Table 5883 "Phys. Invt. Comment Line" in Base Application (Microsoft.Inventory.Counting.Comment). 7 fields, 1 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Phys. Invt. 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 | Option | — | OptionCaption: Order,Recording,Posted Order,Posted Recording |
| 2 | Order No. | Code[20] | Specifies the document number of the physical inventory order to which the comment applies. | TableRelation [Table 5875 "Phys. Invt. Order Header"](../table/5875.md), [Table 5877 "Phys. Invt. Record Header"](../table/5877.md), [Table 5879 "Pstd. Phys. Invt. Order Hdr"](../table/5879.md) (if ("Document Type" = const(Order)) "Phys. Invt. Order Header" else if ("Document Type" = const(Recording)) "Phys. Invt. Record Header"."Order No." else if ("Document Type" = const("Posted Order")) "Pstd. Phys. Invt. Order Hdr" else if ("Document Type" = const("Posted Recording")) "Pstd. Phys. Invt....) |
| 3 | Recording No. | Integer | Specifies the document number of the physical inventory recording to which the comment applies. | TableRelation [Table 5877 "Phys. Invt. Record Header"](../table/5877.md), [Table 5881 "Pstd. Phys. Invt. Record Hdr"](../table/5881.md) (if ("Document Type" = const(Recording)) "Phys. Invt. Record Header"."Recording No." where("Order No." = field("Order No.")) else if ("Document Type" = const("Posted Recording")) "Pstd. Phys. Invt. Record Hdr"."Recording No." where("Order No." = field("Order No."))) |
| 4 | Line No. | Integer | — |  |
| 10 | Date | Date | Specifies the date when the comment was created. |  |
| 11 | Code | Code[10] | Specifies a code for the comment. |  |
| 12 | Comment | Text[80] | Specifies the comment itself. |  |

## Keys

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

## Events published

- `OnAfterSetUpNewLine(var PhysInvtCommentLineRec: Record "Phys. Invt. Comment Line"; var PhysInvtCommentLineFilter: Record "Phys. Invt. Comment Line")` (integration)

## Procedures

- `SetUpNewLine()`

## Triggers

OnInsert

## Relations

- drill-down page [Page 5892 "Phys. Inventory Comment List"](../page/5892.md)
- lookup page [Page 5892 "Phys. Inventory Comment List"](../page/5892.md)
- Order No.: TableRelation [Table 5875 "Phys. Invt. Order Header"](../table/5875.md) (conditional)
- Order No.: TableRelation [Table 5877 "Phys. Invt. Record Header"](../table/5877.md) (conditional)
- Recording No.: TableRelation [Table 5877 "Phys. Invt. Record Header"](../table/5877.md) (conditional)
- Order No.: TableRelation [Table 5879 "Pstd. Phys. Invt. Order Hdr"](../table/5879.md) (conditional)
- Recording No.: TableRelation [Table 5881 "Pstd. Phys. Invt. Record Hdr"](../table/5881.md) (conditional)

## Referenced by

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

- [Table 5875 "Phys. Invt. Order Header"](../table/5875.md): Comment
- [Table 5877 "Phys. Invt. Record Header"](../table/5877.md): Comment
- [Table 5879 "Pstd. Phys. Invt. Order Hdr"](../table/5879.md): Comment
- [Table 5881 "Pstd. Phys. Invt. Record Hdr"](../table/5881.md): Comment

## Pages and codeunits on this table

- [Page 5891 "Phys. Inventory Comment Sheet"](../page/5891.md) (source table)
- [Page 5892 "Phys. Inventory Comment List"](../page/5892.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: "Phys. Invt. Comment Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
