Table

RouteCostCategoryPrice

Cost category/version price

Holds prices for a cost category, set per costing version and site. Each record applies from a given date and has a line number. It links to the cost category, the costing version and the site. The status shows whether the price is pending, current active or previous active.

Table name
RouteCostCategoryPrice
Module
Production control
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
ProdRouting
Primary index
RecId
Replacement key
CostCategoryIdx
Key fields
CostCategoryId, VersionId, InventSiteId, FromDate, LineId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostCategoryIdCost category the price belongs to.String (30)
RouteCostCategoryId
YesRouteCostCategory.CostCategoryIdRoutePendingRouteCostCategoryUnitCostEntity
VersionIdCosting version the price belongs to.String
CostingVersionId
YesCostingVersion.VersionIdRoutePendingRouteCostCategoryUnitCostEntity
InventSiteIdSite the price is set for.String
InventSiteId
NoInventSite.SiteIdRoutePendingRouteCostCategoryUnitCostEntity
FromDateDate from which the price applies.Date
FromDate
YesRoutePendingRouteCostCategoryUnitCostEntity
LineIdLine number that separates records with the same other key values.Integer
Line
NoNone
CostingVersionStatusStatus of the costing version: pending, current active or previous active.Enum
CostingVersionStatus (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PricePrice for the cost category.Real
Price
NoRoutePendingRouteCostCategoryUnitCostEntity
PriceSecCur_RUSecondary cost value, used for Russia.Real
CostPriceSecCur_RU
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (3)

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

  • CostingVersion → CostingVersion

    Join on VersionId = CostingVersion.VersionId

    Many RouteCostCategoryPrice records → exactly one CostingVersion record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many RouteCostCategoryPrice records → zero or one InventSite record

  • RouteCostCategory → RouteCostCategory

    Join on CostCategoryId = RouteCostCategory.CostCategoryId

    Many RouteCostCategoryPrice records → exactly one RouteCostCategory record

Get this data out

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

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

Email sales@drdynamics.co.uk