Table

ProjSubcontractCategoryRelationTable

Project subcontract category mapping

Maps subcontract transaction types (hour, expense, material) to project categories. The key combines transaction type, transaction category and role. It links to procurement categories, roles and project transaction categories.

Table name
ProjSubcontractCategoryRelationTable
Module
Project management and accounting
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
CategoryIdx
Replacement key
CategoryIdx
Key fields
SubConTransactionType, TransactionCategoryId, Role
Model
ProjectOperations

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubConTransactionTypeKind of subcontract transaction: hour, expense or material.Enum
ProjSubConTransClass (enum)
YesNone
TransactionCategoryIdProject transaction category ID, pointing to a transaction category.String (28)
ProjTransactionCategoryId
NoProjTransactionCategory.CategoryIdNone
RoleRole ID, pointing to a project role.String (20)
PSASchedRoleId
NoPSASchedRole.RoleIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcurementCategorySystem record ID of the procurement category being mapped.Int64
PurchCategory
YesEcoResCategory.RecIdNone
ProjectCategoryIdProject category the mapping uses.String (30)
ProjCategoryId
YesNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • ProcurementCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many ProjSubcontractCategoryRelationTable records → exactly one EcoResCategory record

  • ProjTransactionCategory → ProjTransactionCategory

    Join on TransactionCategoryId = ProjTransactionCategory.CategoryId

    Many ProjSubcontractCategoryRelationTable records → exactly one ProjTransactionCategory record

  • Role → PSASchedRole

    Join on Role = PSASchedRole.RoleId

    Many ProjSubcontractCategoryRelationTable records → exactly one PSASchedRole record

Get this data out

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

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

Email sales@drdynamics.co.uk