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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ExpenseTypeType of expense, such as miscellaneous, per diem, mileage, airline or car rental.Enum
TrvExpTypeEDT
TrvExpType (enum)
NoNone
GlobalCategoryShared category that the role applies to.Int64
RefRecId
NoSharedCategory.RecIdNone
GlobalCategoryRoleTypeCategory role type assigned to the category.Int64
RefRecId
NoSharedCategoryRoleType.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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 (2)

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

  • Category → SharedCategory

    Join on GlobalCategory = SharedCategory.RecId

    Many SharedCategoryRoles records → zero or one SharedCategory record

  • RoleType → SharedCategoryRoleType

    Join on GlobalCategoryRoleType = SharedCategoryRoleType.RecId

    Many 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.

Email sales@drdynamics.co.uk