---
id: object/table/5416
type: object
title: Table 5416 "Prod. Order Comp. Cmt Line"
summary: Table 5416 "Prod. Order Comp. Cmt Line" in Base Application (Microsoft.Manufacturing.Document). 8 fields, 3 public procedures. 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: a1bb50562f458436e8fd6ddc46852f2f9f1cb5742a71311f436f24eaeb4b2ce1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCompCmtLine.Table.al
    title: src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCompCmtLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/production-how-to-replan-refresh-production-orders
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/planning
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5416
name: Prod. Order Comp. Cmt Line
namespace: Microsoft.Manufacturing.Document
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: 3
  events: 0
  subscribers: 0
relations:
  out: 5
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 1
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5416 "Prod. Order Comp. Cmt Line"

> Table 5416 "Prod. Order Comp. Cmt Line" in Base Application (Microsoft.Manufacturing.Document). 8 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

Learn documents this table through its pages: [Page 99000842 "Prod. Order Comp. Cmt. Sheet"](../page/99000842.md) (1 Learn page), [Page 99000843 "Prod. Order BOM Cmt List"](../page/99000843.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Prod. Order Comp. Cmt 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 |
|---|---|---|---|---|
| 2 | Prod. Order BOM Line No. | Integer | — | TableRelation [Table 5407 "Prod. Order Component"](../table/5407.md) ("Prod. Order Component"."Line No." where(Status = field(Status), "Prod. Order No." = field("Prod. Order No."), "Prod. Order Line No." = field("Prod. Order Line No."))); NotBlank |
| 3 | Line No. | Integer | — |  |
| 10 | Date | Date | Specifies the date. |  |
| 12 | Comment | Text[80] | Specifies the actual comment text. |  |
| 13 | Code | Code[10] | Specifies a code for the comments. |  |
| 22 | Status | Enum "Production Order Status" | — | enum [Enum 5405 "Production Order Status"](../enum/5405.md) |
| 23 | Prod. Order No. | Code[20] | — | TableRelation [Table 5405 "Production Order"](../table/5405.md) ("Production Order"."No." where(Status = field(Status))); NotBlank |
| 24 | Prod. Order Line No. | Integer | — | TableRelation [Table 5406 "Prod. Order Line"](../table/5406.md) ("Prod. Order Line"."Line No." where(Status = field(Status), "Prod. Order No." = field("Prod. Order No."))); NotBlank |

## Keys

- Key1: Status, Prod. Order No., Prod. Order Line No., Prod. Order BOM Line No., Line No. (clustered)

## Trigger event subscribers

- OnBeforeInsertEvent: [Codeunit 99000788 "Mfg. Experience Tier"](../codeunit/99000788.md) BlockInsertProdOrderCompCmtLine

## Procedures

- `SetupNewLine()`
- `Caption(): Text`
- `CopyFromProdBOMComponent(ProductionBOMCommentLine: Record "Production BOM Comment Line"; ProdOrderComponent: Record "Prod. Order Component")`

## Triggers

OnDelete, OnInsert, OnModify

## Relations

- drill-down page [Page 99000843 "Prod. Order BOM Cmt List"](../page/99000843.md)
- lookup page [Page 99000843 "Prod. Order BOM Cmt List"](../page/99000843.md)
- Prod. Order No.: TableRelation [Table 5405 "Production Order"](../table/5405.md)
- Prod. Order Line No.: TableRelation [Table 5406 "Prod. Order Line"](../table/5406.md)
- Prod. Order BOM Line No.: TableRelation [Table 5407 "Prod. Order Component"](../table/5407.md)

## Pages and codeunits on this table

- [Page 99000842 "Prod. Order Comp. Cmt. Sheet"](../page/99000842.md) (source table)
- [Page 99000843 "Prod. Order BOM Cmt List"](../page/99000843.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: "Prod. Order Comp. Cmt Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
