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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProcurementCategoryPoints to the procurement category. | Int64EcoResCategoryId | No | EcoResCategory.RecId | None |
CommodityPoints to the commodity category. | Int64EcoResCategoryId | No | EcoResCategory.RecId | None |
CommodityHierarchyPoints to the category hierarchy that holds the commodity. | Int64EcoResCategoryHierarchyId | No | EcoResCategoryHierarchy.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcurementCategoryHierarchyPoints to the category hierarchy that holds the procurement category. | Int64EcoResCategoryHierarchyId | No | EcoResCategoryHierarchy.RecId | 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 (2)
CategoryHierarchyCommodityProcurementCategoryHierarchy,CommodityUnique, alternate key.
CategoryCommodityReplacement keyProcurementCategory,CommodityUnique, alternate key.
Relations (4)
Each relation joins ProcCategoryCommodityCode to another table on the fields shown.
Ecorescommodity→EcoResCategoryJoin on
Commodity = EcoResCategory.RecIdMany ProcCategoryCommodityCode records → zero or one EcoResCategory record
EcoResCommodityHierarchy→EcoResCategoryHierarchyJoin on
CommodityHierarchy = EcoResCategoryHierarchy.RecIdMany ProcCategoryCommodityCode records → zero or one EcoResCategoryHierarchy record
ProcCategory→EcoResCategoryJoin on
ProcurementCategory = EcoResCategory.RecIdMany ProcCategoryCommodityCode records → zero or one EcoResCategory record
ProcCategoryHierarchy→EcoResCategoryHierarchyJoin on
ProcurementCategoryHierarchy = EcoResCategoryHierarchy.RecIdMany 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.