Table
WHSFilterTable
Product filter relations
Holds product filter relations. Each row links a filter code and item group to a referenced record, such as a customer, customer group, vendor or vendor group, for a date range. It can also hold a number of days for mixing batches.
- Table name
WHSFilterTable- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
GroupIdx- Key fields
RefTableId, RefRecId, FromDateTime, ItemGroupId, FilterCode- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefTableIdNumeric ID of the table that the referenced record belongs to. | IntegerRefTableId | Yes | WHSCustomerProductFilterV3EntityWHSProductFilterGroupDetailV2EntityWHSBatchNumberOfDaysToMixFilterEntityand 4 more | |
RefRecIdSystem record ID of the referenced record, such as a customer group. | Int64RefRecId | Yes | WHSCustomerProductFilterV3EntityWHSBatchNumberOfDaysToMixFilterEntityWHSCustomerGroupProductFilterEntityand 3 more | |
FromDateTimeDate and time when the relation starts. | UtcDateTimeFromDateTime | No | WHSCustomerProductFilterV3EntityWHSProductFilterGroupDetailV2EntityWHSBatchNumberOfDaysToMixFilterEntityand 4 more | |
ItemGroupIdItem group that the relation applies to. Points to the Item groups table. | StringItemGroupId | Yes | InventItemGroup.ItemGroupId | WHSCustomerProductFilterV3EntityWHSProductFilterGroupDetailV2EntityWHSBatchNumberOfDaysToMixFilterEntityand 4 more |
FilterCodeProduct filter code that the relation uses. | StringWHSFilterCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NumDaysToMixNumber of days within which batches may be mixed. | IntegerWHSNumDaysToMix | No | WHSProductFilterGroupDetailV2EntityWHSBatchNumberOfDaysToMixFilterEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateTimeDate and time when the relation ends. | UtcDateTimeToDateTime | No | WHSCustomerProductFilterV3EntityWHSProductFilterGroupDetailV2Entity |
Indexes (1)
GroupIdxReplacement keyRefTableId,RefRecId,FromDateTime,ItemGroupId,FilterCodeUnique, alternate key.
Relations (16)
Each relation joins WHSFilterTable to another table on the fields shown.
CustGroup→CustGroupJoin on
RefRecId = CustGroup.RecId,RefTableId = CustGroup.TableIdMany WHSFilterTable records → zero or one CustGroup record
CustTable→CustTableJoin on
RefRecId = CustTable.RecId,RefTableId = CustTable.TableIdMany WHSFilterTable records → zero or one CustTable record
FilterCode1→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code1,FilterCode[1] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode2→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code2,FilterCode[2] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode3→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code3,FilterCode[3] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode4→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code4,FilterCode[4] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode5→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code5,FilterCode[5] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode6→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code6,FilterCode[6] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode7→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code7,FilterCode[7] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode8→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code8,FilterCode[8] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode9→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code9,FilterCode[9] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
FilterCode10→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code10,FilterCode[10] = WHSFilters.FilterNumMany WHSFilterTable records → zero or one WHSFilters record
InventItemGroup→InventItemGroupJoin on
ItemGroupId = InventItemGroup.ItemGroupIdOne or more WHSFilterTable records → exactly one InventItemGroup record
VendGroup→VendGroupJoin on
RefRecId = VendGroup.RecId,RefTableId = VendGroup.TableIdMany WHSFilterTable records → zero or one VendGroup record
VendTable→VendTableJoin on
RefRecId = VendTable.RecId,RefTableId = VendTable.TableIdMany WHSFilterTable records → zero or one VendTable record
WHSFilterGroupTable→WHSFilterGroupTableJoin on
RefRecId = WHSFilterGroupTable.RecId,RefTableId = WHSFilterGroupTable.TableIdMany WHSFilterTable records → zero or one WHSFilterGroupTable record
Get this data out
Tables are not exposed directly. These public entities read from WHSFilterTable; use one of them in Power BI, Power Platform or a data management project.
WHSCustomerProductFilterV3Entity· 5 fields from this tableWHSProductFilterGroupDetailV2Entity· 5 fields from this tableWHSBatchNumberOfDaysToMixFilterEntity· 5 fields from this tableWHSCustomerGroupProductFilterEntity· 4 fields from this tableWHSGenerallyAvailableProductFilterEntity· 4 fields from this tableWHSVendorGroupProductFilterEntity· 4 fields from this tableWHSVendorProductFilterEntity· 4 fields from this table
Need help with WHSFilterTable in a report, an integration or a migration? Talk to Dr Dynamics.