tableSales & Receivablesofficial - Microsoftderived - from the source, no model text

Table 44 "Sales Comment Line"

Base Application · Microsoft.Sales.Comment

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25unchanged
  4. BC264 fields changed
  5. BC27-30unchanged

Neighbourhood 7 connected objects and pages

Page 69 "Sales Comment List" (pages and codeunits on it, 3 links)Sales Comment ListPage 67 "Sales Comment Sheet" (pages and codeunits on it)Sales Comment SheetTable 110 "Sales Shipment Header" (referenced by)Sales Shipment HeaderTable 112 "Sales Invoice Header" (referenced by)Sales Invoice HeaderTable 114 "Sales Cr.Memo Header" (referenced by)Sales Cr.Memo HeaderTable 36 "Sales Header" (referenced by)Sales HeaderTable 6660 "Return Receipt Header" (referenced by)Return Receipt Header

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Sales.Comment · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Sales 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 “Sales Comment Document Type” — enum Enum 44 “Sales Comment Document Type”
2 No. Δ BC26 Code[20] Specifies the number of the involved entry or record, according to the specified number series.
3 Line No. Integer —
4 Date Δ BC26 Date Specifies the date the comment was created.
5 Code Δ BC26 Code[10] Specifies a code for the comment.
6 Comment Δ BC26 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 SalesCommentLineRec: Record "Sales Comment Line"; var SalesCommentLineFilter: Record "Sales Comment Line") (integration): Raises an event after initializing default values for a new sales comment line.
  • OnBeforeCopyComments(var SalesCommentLine: Record "Sales Comment Line"; ToDocumentType: Integer; var IsHandled: Boolean; FromDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]) (integration): Raises an event before copying comment lines from one document to another.
  • OnBeforeCopyLineComments(var SalesCommentLine: Record "Sales Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLine: Integer) (integration): Raises an event before copying line-specific comment lines from one document line to another.
  • OnBeforeCopyLineCommentsFromSalesLines(var SalesCommentLine: Record "Sales Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; var TempSalesLineSource: Record "Sales Line" temporary) (integration): Raises an event before copying line-level comments from sales lines to header-level comments on the target document.
  • OnBeforeCopyHeaderComments(var SalesCommentLine: Record "Sales Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]) (integration): Raises an event before copying header-level comments from one document to another.
  • OnBeforeCopyCommentsOnBeforeInsert(var NewSalesCommentLine: Record "Sales Comment Line"; OldSalesCommentLine: Record "Sales Comment Line") (integration): Raises an event before inserting a copied comment line, allowing modification of the new comment before insertion.
  • OnBeforeSetUpNewLine(var SalesCommentLineRec: Record "Sales Comment Line"; var SalesCommentLineFilter: Record "Sales Comment Line") (integration): Raises an event before initializing default values for a new sales comment line.

Procedures

  • SetUpNewLine(): Initializes default values for a new sales comment line, setting the date to work date if no other comment exists for the current date.
  • CopyComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]): Copies all comment lines from one sales document to another.
  • CopyLineComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLineNo: Integer): Copies comment lines associated with a specific document line to another document line.
  • CopyLineCommentsFromSalesLines(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; var TempSalesLineSource: Record "Sales Line" temporary): Copies line-level comments from multiple sales lines to header-level comments on the target document.
  • CopyHeaderComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]): Copies header-level comments from one sales document to another.
  • DeleteComments(DocType: Option; DocNo: Code[20]): Deletes all comment lines associated with the specified sales document.
  • ShowComments(DocType: Option; DocNo: Code[20]; DocLineNo: Integer): Opens the Sales Comment Sheet page to display comments for the specified document or document line.

Relations

Referenced by

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

Pages and codeunits on this table

Countries that replace it

CA, MX, US

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

Evidence 1 sources