CFLShowCommentLines Procedure

  • 2 minutes to read

Codeunit CFL Sales Notification Mgt

Signature

CFLShowCommentLines(RecID: RecordId; DocType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; TableName: Enum "Comment Line Table Name"; No: Code[20])

Parameters

Name Type Description
RecID RecordId Record identifier supplied as notification context.
DocType Enum "Sales Document Type" Sales document type used when evaluating configured display conditions.
DocNo Code[20] Sales document number used when evaluating configured display conditions.
DocLineNo Integer Sales document line number. This parameter is part of the public signature but is not currently used by the procedure.
TableName Enum "Comment Line Table Name" Comment-line table to search.
No Code[20] Number used to select the matching comment lines.

Behavior

The procedure finds comment lines for the specified table and number that have a sales notification code. It displays configured notifications or popup messages when their display conditions are met. Notifications configured with Show As set to None, disabled notifications, and comments that do not meet their conditions are not displayed.