Table
SharedCategoryRoles
Category roles
Links a shared category to a category role type. It also holds an expense type, such as per diem, mileage or airline. No key is defined in the metadata.
- Table name
SharedCategoryRoles- Module
Expense management- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Measurement
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExpenseTypeType of expense, such as miscellaneous, per diem, mileage, airline or car rental. | EnumTrvExpTypeEDTTrvExpType (enum) | No | None | |
GlobalCategoryShared category that the role applies to. | Int64RefRecId | No | SharedCategory.RecId | None |
GlobalCategoryRoleTypeCategory role type assigned to the category. | Int64RefRecId | No | SharedCategoryRoleType.RecId | 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)
GlobalCategoryRoleTypeIdxNot unique.
GlobalCategoryIdxNot unique.
Relations (2)
Each relation joins SharedCategoryRoles to another table on the fields shown.
Category→SharedCategoryJoin on
GlobalCategory = SharedCategory.RecIdMany SharedCategoryRoles records → zero or one SharedCategory record
RoleType→SharedCategoryRoleTypeJoin on
GlobalCategoryRoleType = SharedCategoryRoleType.RecIdMany SharedCategoryRoles records → zero or one SharedCategoryRoleType record
Get this data out
No public entity reads from SharedCategoryRoles. Its data is only reachable through the application, a custom entity or a database export.
Need help with SharedCategoryRoles in a report, an integration or a migration? Talk to Dr Dynamics.