Skip to content

Codeunit WSB_CommentMgt

Exposes procedures to help with retrieving comments for a record in a generic way.

Properties

Name Value
Access Public

Methods

wgFncGetAllCommentsAsText

Gets all comments for a comment line-related record set as a single text.

Parameters

Type Name Description
Variant pCommentRecRelatedVariant A comment line record set to get the comments from.

Returns

Type Description
Text The comments as a single text.

wgFncGetAllCommentsAsText

Gets all comments for a comment line-related record set as a single text.

Parameters

Type Name Description
Variant pCommentRecRelatedVariant A comment line record set to get the comments from.
Boolean pRecordScoped Whether or not to limit the comment line records to include to those records with the same Date and Code as the passed record.

Returns

Type Description
Text The comments as a single text.

wlEvpOnAfterGetLineFeedFieldName

Allows to hook into retrieving the name of the field in a table that stores whether or not a comment line record is ended with a line feed.

Parameters

Type Name Description
Integer pCommentLineTableNo The ID/number of the comment line table that we are concerned with.
RecordRef pRecRefCommentLine A RecordRef of the comment line table.
Text vLineFeedFieldName The name of the (boolean) field that stores whether a comment line record is ended with a line feed.