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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostCategoryIdCost category the price belongs to. | String (30)RouteCostCategoryId | Yes | RouteCostCategory.CostCategoryId | RoutePendingRouteCostCategoryUnitCostEntity |
VersionIdCosting version the price belongs to. | StringCostingVersionId | Yes | CostingVersion.VersionId | RoutePendingRouteCostCategoryUnitCostEntity |
InventSiteIdSite the price is set for. | StringInventSiteId | No | InventSite.SiteId | RoutePendingRouteCostCategoryUnitCostEntity |
FromDateDate from which the price applies. | DateFromDate | Yes | RoutePendingRouteCostCategoryUnitCostEntity | |
LineIdLine number that separates records with the same other key values. | IntegerLine | No | None | |
CostingVersionStatusStatus of the costing version: pending, current active or previous active. | EnumCostingVersionStatus (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PricePrice for the cost category. | RealPrice | No | RoutePendingRouteCostCategoryUnitCostEntity | |
PriceSecCur_RUSecondary cost value, used for Russia. | RealCostPriceSecCur_RU | 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 |
Indexes (4)
CostCategoryIdxReplacement keyCostCategoryId,VersionId,InventSiteId,FromDate,LineIdUnique, alternate key.
CostCategoryFromDateIdxNot unique.
FromDateIdxNot unique.
VersionStatusIdxNot unique.
Relations (3)
Each relation joins RouteCostCategoryPrice to another table on the fields shown.
CostingVersion→CostingVersionJoin on
VersionId = CostingVersion.VersionIdMany RouteCostCategoryPrice records → exactly one CostingVersion record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany RouteCostCategoryPrice records → zero or one InventSite record
RouteCostCategory→RouteCostCategoryJoin on
CostCategoryId = RouteCostCategory.CostCategoryIdMany 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.
RoutePendingRouteCostCategoryUnitCostEntity· 5 fields from this table
Need help with RouteCostCategoryPrice in a report, an integration or a migration? Talk to Dr Dynamics.