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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChargeTypeCharge type held as an integer code for the subcategory. | IntegerTrvChargeType | No | TrvSharedSubCategoryEntity | |
DescriptionFree-text description of the expense subcategory. | String (160)TrvDescription | No | TrvSharedSubCategoryEntity | |
ExcludeFromRecoveryYes/No flag that marks the subcategory as excluded from tax recovery. | EnumNoYes (enum) | No | TrvSharedSubCategoryEntity | |
NameName of the expense subcategory. | String (40)TrvExpSubCategoryName | Yes | TrvSharedSubCategoryEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 8 more | |
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 | |
SharedCategoryPoints to the shared category that this subcategory belongs to. | Int64RefRecId | Yes | SharedCategory.RecId | TrvSharedSubCategoryEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
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 confidence | EnumNoYes (enum) | No | TrvSharedSubCategoryEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SharedCategoryIdxNot unique.
SharedCategorySubCategoryNameIdxUnique.
Relations (1)
Each relation joins TrvSharedSubCategory to another table on the fields shown.
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.
TrvSharedSubCategoryEntity· 6 fields from this tableTrvExpTransMobileV2Entity· 1 field from this tableTrvCopilotAutomationExpenseEntity· 1 field from this tableTrvExpenseCategoryEntity· 1 field from this tableTrvExpenseSubCategoryEntity· 1 field from this tableTrvExpMobileExpenseEntity· 1 field from this tableTrvExpMobileExpenseLineAttachedToReportEntity· 1 field from this tableTrvExpMobileLineApprovalEntity· 1 field from this tableTrvExpTransMobileEntity· 1 field from this tableTrvExpTransEntity· 1 field from this tableTrvExpenseAgentExpenseEntity· 1 field from this table
Need help with TrvSharedSubCategory in a report, an integration or a migration? Talk to Dr Dynamics.