Skip to content

Codeunit WSB_EnumInspector

Exposes procedure to help with looking up enum table fields and their members/possible values.

Properties

Name Value
Access Public

Methods

wgFncGetEnumMembersForField

Gets the enum members for a table field.

Parameters

Type Name Description
FieldRef pFieldRef The table field to get the enum members for.
Record "WSB_EnumFieldMember" vRecWSB_EnumFieldMember The resulting temporary record set with the enum field members for the table field.

wgFncLookupEnumField

Opens a field lookup page to select an enum/option table field.

Parameters

Type Name Description
Record "Field" vRecField The selected field, if any.

Returns

Type Description
Boolean true if a field was selected.

wgFncViewEnumMembers

View the members of an enum table field in a list page.

Parameters

Type Name Description
Integer pTableNo The Table No. of the field.
Integer pFieldNo The Field No. of the field.

wgFncViewEnumMembers

View the members of an enum table field in a list page.

Parameters

Type Name Description
FieldRef pFieldRef The enum table field.

wgFncViewEnumMembers

Shows a lookup to select an enum table field and shows its members in a list page.