Table

RetailServiceCategory

Service category

Holds service categories for retail, keyed by service category ID. Each record has a description, a work calendar, delivery and sales day counts, and warehouse settings. It can link to a replenishment rule, a replenishment warehouse and a cross docking warehouse.

Table name
RetailServiceCategory
Module
Inventory management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
CategoryIdx
Replacement key
CategoryIdx
Key fields
ServiceCategory
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ServiceCategoryUnique ID of the service category.String
RetailServiceCategoryId
NoRetailServiceCategoryEntity
AvailSalesDaysNumber of days used as the sales date setting for the category.Integer
Days
NoRetailServiceCategoryEntity
CalendarIdWork calendar linked to the service category.String
CalendarId
YesWorkCalendarTable.CalendarIdRetailServiceCategoryEntity
CrossDockingWarehouseWarehouse used for cross docking, taken from the warehouse list.String
InventLocationId
NoInventLocation.InventLocationIdRetailServiceCategoryEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the service category.String (60)
Description
NoRetailServiceCategoryEntity
LocalDlvDaysNumber of days for local delivery.Integer
Days
NoRetailServiceCategoryEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplenishmentLocationWarehouse linked to the category for replenishment.String
InventLocationId
NoInventLocation.InventLocationIdRetailServiceCategoryEntity
ReplenishmentRuleIdReplenishment rule assigned to the category.String
RetailReplenishmentRuleId
NoRetailReplenishmentRuleTable.RuleIdRetailServiceCategoryEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • CategoryIdxPrimary indexReplacement key

    ServiceCategory

    Unique, alternate key.

Relations (4)

Each relation joins RetailServiceCategory to another table on the fields shown.

  • InventLocation → InventLocation

    Join on ReplenishmentLocation = InventLocation.InventLocationId

    Many RetailServiceCategory records → exactly one InventLocation record

  • InventLocation1 → InventLocation

    Join on CrossDockingWarehouse = InventLocation.InventLocationId

    Many RetailServiceCategory records → exactly one InventLocation record

  • RetailReplenishmentRuleTable → RetailReplenishmentRuleTable

    Join on ReplenishmentRuleId = RetailReplenishmentRuleTable.RuleId

    Many RetailServiceCategory records → exactly one RetailReplenishmentRuleTable record

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Many RetailServiceCategory records → exactly one WorkCalendarTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailServiceCategory; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailServiceCategory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk