Table 44 Sales Comment Line

Base Application, Microsoft.Sales.Comment

Source AL, 368 lines

src/Layers/W1/BaseApp/Sales/Comment/SalesCommentLine.Table.allines 12 to 27 of 368, Copyright (c) Microsoft Corporation. MIT

table 44 "Sales Comment Line"{    Caption = 'Sales Comment Line';    DrillDownPageID = "Sales Comment List";    LookupPageID = "Sales Comment List";    DataClassification = CustomerContent;    fields    {        /// <summary>        /// Specifies the type of sales document this comment is associated with.        /// </summary>        field(1; "Document Type"; Enum "Sales Comment Document Type")        {            Caption = 'Document Type';        }

All 368 lines

Fields 7 in 29

1Document TypeEnum "Sales Comment Document Type"17-29
2No.Code[20]17-29
3Line No.Integer17-29
4DateDate17-29
5CodeCode[10]17-29
6CommentText[80]17-29
7Document Line No.Integer17-29

Events 7 in 29

[IntegrationEvent] OnAfterSetUpNewLine(var SalesCommentLineRec: Record "Sales Comment Line"; var SalesCommentLineFilter: Record "Sales Comment Line")17-29
[IntegrationEvent] OnBeforeCopyComments(var SalesCommentLine: Record "Sales Comment Line"; ToDocumentType: Integer; var IsHandled: Boolean; FromDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])17-29
[IntegrationEvent] OnBeforeCopyLineComments(var SalesCommentLine: Record "Sales Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLine: Integer)17-29
[IntegrationEvent] 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)17-29
[IntegrationEvent] OnBeforeCopyHeaderComments(var SalesCommentLine: Record "Sales Comment Line"; var IsHandled: Boolean; FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])17-29
[IntegrationEvent] OnBeforeCopyCommentsOnBeforeInsert(var NewSalesCommentLine: Record "Sales Comment Line"; OldSalesCommentLine: Record "Sales Comment Line")new in 22
[IntegrationEvent] OnBeforeSetUpNewLine(var SalesCommentLineRec: Record "Sales Comment Line"; var SalesCommentLineFilter: Record "Sales Comment Line")new in 22

Public procedures 7 in 29

SetUpNewLine()17-29
CopyComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])17-29
CopyLineComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; FromDocumentLineNo: Integer; ToDocumentLineNo: Integer)17-29
CopyLineCommentsFromSalesLines(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20]; var TempSalesLineSource: Record "Sales Line" temporary)17-29
CopyHeaderComments(FromDocumentType: Integer; ToDocumentType: Integer; FromNumber: Code[20]; ToNumber: Code[20])17-29
DeleteComments(DocType: Option; DocNo: Code[20])17-29

All 7 procedures

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "Sales Comment Line"; var xRec: Record "Sales Comment Line"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 2 in 22

List17181920212223242526272829
Events2
[IntegrationEvent] OnBeforeCopyCommentsOnBeforeInsert(var NewSalesCommentLine: Record "Sales Comment Line"; OldSalesCommentLine: Record "Sales Comment Line")new in 22
added
[IntegrationEvent] OnBeforeSetUpNewLine(var SalesCommentLineRec: Record "Sales Comment Line"; var SalesCommentLineFilter: Record "Sales Comment Line")new in 22
added

All 2 changes in 17-29