Codeunit WSB_CFCalculationFilters
Exposes procedures to configure and generate table filter views for calculated custom fields.
Properties
Methods
wgFncApplyCalculationFilters
Applies the calculation filters configured for the custom field entity table to the filter table for a custom calculated field.
Parameters
Type |
Name |
Description |
RecordRef |
vRecRefFilterTable |
The table to apply the filters to. |
RecordRef |
pRecRefCustomFieldEntityTable |
A record of the custom field entity table to get the filter values from. |
Integer |
pCustomFieldNo |
The custom field number. |
Enum "WSB_CFDataType" |
pCustomFieldDataType |
The data type of the custom field. |
Returns
Type |
Description |
Boolean |
true if the filters were applied successfully. |
wgFncApplyCalculationFilters
Applies the calculation filters configured for the custom field entity table to the filter table for a custom calculated field.
Parameters
Type |
Name |
Description |
RecordRef |
vRecRefFilterTable |
The table to apply the filters to. |
RecordRef |
pRecRefCustomFieldEntityTable |
A record of the custom field entity table to get the filter values from. |
Record "WSB_CFTableFieldSetup" |
pRecWSB_CFTableFieldSetup |
The entity table-specific setup for the custom field. |
Returns
Type |
Description |
Boolean |
true if the filters were applied successfully. |