Skip to content

Codeunit WSB_BRGCustomFieldsPublishers

A codeunit that exposes event publishers for Apportunix Custom Fields to execute requests for custom fields related actions.

Properties

Name Value
Access Public

Methods

wgEvpOnGetCustomFieldsDefinitionsPageID

Allows Apportunix Custom Fields to respond on the query for the Custom Fields Definitions page ID.

Parameters

Type Name Description
Integer vPageID The page ID

wgEvpOnGetSupportedEntityTableIDFilter

Allows Apportunix Custom Fields to respond on the query for a table ID filter for all supported entity tables.

Parameters

Type Name Description
Text vEntityTableIDFilter The table ID filter result
Boolean vSuccess Set to true if the operation was successfully executed

wgEvpOnGetSupportedEntityTableIDs

Allows Apportunix Custom Fields to respond on the query for the list of supported tables.

Parameters

Type Name Description
List vEntityTableIDs The list of supported tables result

wgEvpOnIsCalculatedValueCustomField

Allows Apportunix Custom Fields to respond on the query to check if the table field is an Apportunix Custom Fields calculated field.

Parameters

Type Name Description
Integer pTableID The ID of the table.
Integer pFieldNo The field number of the table field.
Integer vCustomFieldNo The custom field number.
Boolean vIsCalculated Is set to true by the subscriber if the field is a calculated Apportunix Custom Fields field

wgEvpOnIsCustomField

Allows Apportunix Custom Fields to respond on the query to check if the table field is an Apportunix Custom Fields field.

Parameters

Type Name Description
Integer pTableID The ID of the table.
Integer pFieldNo The field number of the table field.
Integer vCustomFieldNo The custom field number.
Text vCustomFieldName The custom field name.
Boolean vIsCustomField Is set to true by the subscriber if the field is an Apportunix Custom Fields field

wgEvpOnSelectFields

Allows Apportunix Custom Fields to hook into a request for selecting custom fields.

Parameters

Type Name Description
Integer pTableID The ID of the table to filter the selectable fields to.
Record "Field" temporary vRecTempSelectedField The temporary record set.