Skip to content

Codeunit WSB_CFDefinitionMgt

Manages Custom Fields Definition changes to reflect in the tables associated with the Custom Fields Definition.

Properties

Name Value
Access Public

Methods

wgFncClearFieldValues

Obsolete

The method is used to clear values in related tables when user clicks on Clear Field Values action. wgFncClearFieldValues is now moved to separate codeunit WSB_CFClearDefinitionMgt to make it reusable for both Clear Field Values action and on delete of the custom field definition. 1.86.0.0

Clears existing values for this custom field when action Clear Field Values executed.

Parameters

Type Name Description
Record "WSB Custom Field Definition" pRecWSBCustomFieldDefinition Record for which values must be deleted in related tables

wlEvpOnBeforeClearRelatedValues

Obsolete

This event is obsolete and will be removed in future versions. Use the new event wlEvpOnBeforeClearRelatedValues in codeunit WSB_CFClearDefinitionMgt instead. 1.86.0.0

Allows to suppress confirm dialog on delete of the WSB Custom Field Definition record.

Parameters

Type Name Description
Record "WSB Custom Field Definition" pRecWSBCustomFieldDefinition The WSB Custom Field Definition record.
Boolean vSuppressDialog Set this to true, if confirm dialog must be suppresed on deletion of the record.