Table
ProjControlCategory
Categories for control types
Links project categories to the cost lines of a cost template. The key combines the cost template, the cost line and the category. It also stores the transaction type (hour, expense or item).
- Table name
ProjControlCategory- Module
Project management and accounting- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
ControlGroupCategoryIdx- Replacement key
None- Key fields
ControlId, CostGroupId, CategoryId- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ControlIdCost template that the record belongs to. | StringProjControlId | Yes | ProjControl.ControlId | None |
CostGroupIdCost line within the cost template that the category is assigned to. | StringProjCostGroupId | Yes | ProjControlCostGroup.CostGroupId | None |
CategoryIdProject category assigned to the cost line. | String (30)ProjCategoryId | Yes | ProjCategory.CategoryId | None |
CostTypeType of transaction: hour, expense or item. | EnumProjCostType (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 | |
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)
ControlGroupCategoryIdxPrimary indexControlId,CostGroupId,CategoryIdUnique, alternate key.
ControlCategoryIdxNot unique.
Relations (4)
Each relation joins ProjControlCategory to another table on the fields shown.
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany ProjControlCategory records → exactly one ProjCategory record
ProjControl→ProjControlJoin on
ControlId = ProjControl.ControlIdMany ProjControlCategory records → exactly one ProjControl record
projControlCategory→ProjControlCategoryJoin on
ControlId = ProjControlCategory.ControlId,CostGroupId = ProjControlCategory.CostGroupId,CategoryId = ProjControlCategory.CategoryIdCardinality not set in the metadata.
ProjControlCostGroup→ProjControlCostGroupJoin on
ControlId = ProjControlCostGroup.ControlId,CostGroupId = ProjControlCostGroup.CostGroupIdMany ProjControlCategory records → exactly one ProjControlCostGroup record
Get this data out
Tables are not exposed directly. These public entities read from ProjControlCategory; use one of them in Power BI, Power Platform or a data management project.
ProjControlCostGroupCategoriesEntity· 0 fields from this table
Need help with ProjControlCategory in a report, an integration or a migration? Talk to Dr Dynamics.