Skip to content

Codeunit WSB_COCDocumentGroups

Exposes procedures to implement the "Document Comment Groups" feature on additional tables.

Properties

Name Value
Access Public

Methods

wgFncDocumentGroupsLookup

Opens the lookup page for the specified "Document Group Codes" field value to view and/or edit the document groups that apply for the comment. As parameter you pass the current value of the "Document Group Codes" field by reference, which may be edited on the lookup page by the user who changes the selection of document groups.

Parameters

Type Name Description
Code[10] vDocumentGroups The "Document Group Codes" field value

wgFncDocumentGroupsValidate

Validates the specified "Document Group Codes" field value. Checks if all characters of the input string match with an actually existing document group, and if not, throws an error. The validation also removes any duplicates from the input.

Parameters

Type Name Description
Code[10] vDocumentGroups The "Document Group Codes" field value