Table

RouteCostCategory

Cost categories

Cost categories used in routes, keyed by category ID. Each row carries a cost group, a cost price and several ledger dimension combinations for absorbed and consumed manufacturing cost. It can also name a worker.

Table name
RouteCostCategory
Module
Production control
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
ProdRouting
Primary index
ProdCategoryIdx
Replacement key
None
Key fields
CostCategoryId
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostCategoryIdCategory ID, taken from the category table.String (30)
RouteCostCategoryId
YesCategoryTable.CategoryIdNone
CostGroupIdCost group the category belongs to.String
CostGroupIdDirectManufacturing
NoBOMCostGroup.CostGroupIdNone
CostPriceCost price of the category.Real
CostPrice
NoNone
CostPriceSecCur_RUSecondary cost price, used for Russia.Real
CostPriceSecCur_RU
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
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
ResourceIssueLedgerDimensionLedger dimension combination for manufacturing cost absorbed.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
ResourceIssueOffsetLedgerDimensionLedger dimension combination for cost of manufacturing consumed, WIP.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
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
WIPIssueLedgerDimensionLedger dimension combination for estimated manufacturing cost absorbed.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
WIPValuationLedgerDimensionLedger dimension combination for estimated cost of manufacturing consumed, WIP.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
WorkerWorker record linked to the cost category.Int64
RouteWorker
NoHcmWorker.RecIdNone

Indexes (1)

Relations (7)

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

  • BOMCostGroup → BOMCostGroup

    Join on CostGroupId = BOMCostGroup.CostGroupId, BOMCostGroup.CostGroupType = CostGroupType::Undefined, BOMCostGroup.CostGroupType = CostGroupType::DirectManufacturing

    Many RouteCostCategory records → zero or one BOMCostGroup record

  • CategoryTable → CategoryTable

    Join on CostCategoryId = CategoryTable.CategoryId

    Zero or one RouteCostCategory record → exactly one CategoryTable record

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many RouteCostCategory records → zero or one HcmWorker record

  • ResourceIssueLedgerDimension → DimensionAttributeValueCombination

    Join on ResourceIssueLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RouteCostCategory records → zero or one DimensionAttributeValueCombination record

  • ResourceIssueOffsetLedgerDimension → DimensionAttributeValueCombination

    Join on ResourceIssueOffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RouteCostCategory records → zero or one DimensionAttributeValueCombination record

  • WIPIssueLedgerDimension → DimensionAttributeValueCombination

    Join on WIPIssueLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RouteCostCategory records → zero or one DimensionAttributeValueCombination record

  • WIPValuationLedgerDimension → DimensionAttributeValueCombination

    Join on WIPValuationLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RouteCostCategory records → zero or one DimensionAttributeValueCombination record

Get this data out

No public entity reads from RouteCostCategory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk