Table

TrvSharedSubCategory

Shared expense subcategory

Holds expense subcategories that are shared and linked to a shared category. Each record has a name, a description and a charge type. It is used by expense category and expense line entities, including mobile and agent entities.

Table name
TrvSharedSubCategory
Module
Expense
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
Trv
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChargeTypeCharge type held as an integer code for the subcategory.Integer
TrvChargeType
NoTrvSharedSubCategoryEntity
DescriptionFree-text description of the expense subcategory.String (160)
TrvDescription
NoTrvSharedSubCategoryEntity
ExcludeFromRecoveryYes/No flag that marks the subcategory as excluded from tax recovery.Enum
NoYes (enum)
NoTrvSharedSubCategoryEntity
NameName of the expense subcategory.String (40)
TrvExpSubCategoryName
YesTrvSharedSubCategoryEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 8 more
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
SharedCategoryPoints to the shared category that this subcategory belongs to.Int64
RefRecId
YesSharedCategory.RecIdTrvSharedSubCategoryEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SystemCreatedYes/No flag. The label is empty, so the exact meaning is not given; the name suggests the record was created by the system.low confidenceEnum
NoYes (enum)
NoTrvSharedSubCategoryEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (1)

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

  • SharedCategory → SharedCategory

    Join on SharedCategory = SharedCategory.RecId

    Many TrvSharedSubCategory records → exactly one SharedCategory record

Get this data out

Tables are not exposed directly. These public entities read from TrvSharedSubCategory; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk