Table

ProcCategoryCommodityCode

Commodity code

Links a procurement category to a commodity category. Both come from category hierarchies, and each side stores its hierarchy. The key is the procurement category plus the commodity.

Table name
ProcCategoryCommodityCode
Module
Procurement and sourcing
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
CategoryCommodity
Key fields
ProcurementCategory, Commodity
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProcurementCategoryPoints to the procurement category.Int64
EcoResCategoryId
NoEcoResCategory.RecIdNone
CommodityPoints to the commodity category.Int64
EcoResCategoryId
NoEcoResCategory.RecIdNone
CommodityHierarchyPoints to the category hierarchy that holds the commodity.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcurementCategoryHierarchyPoints to the category hierarchy that holds the procurement category.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdNone
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 (2)

Relations (4)

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

  • Ecorescommodity → EcoResCategory

    Join on Commodity = EcoResCategory.RecId

    Many ProcCategoryCommodityCode records → zero or one EcoResCategory record

  • EcoResCommodityHierarchy → EcoResCategoryHierarchy

    Join on CommodityHierarchy = EcoResCategoryHierarchy.RecId

    Many ProcCategoryCommodityCode records → zero or one EcoResCategoryHierarchy record

  • ProcCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many ProcCategoryCommodityCode records → zero or one EcoResCategory record

  • ProcCategoryHierarchy → EcoResCategoryHierarchy

    Join on ProcurementCategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many ProcCategoryCommodityCode records → zero or one EcoResCategoryHierarchy record

Get this data out

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

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

Email sales@drdynamics.co.uk