Data entity

TrvExpenseSubCategoryEntity

Expense subcategories under an expense category, keyed by the category and the shared subcategory name. Each row has a display order, inactive flag, sales tax groups and an account. It links to the shared subcategory and a dimension combination.

Entity name
TrvExpenseSubCategoryEntity
Public entity name
ExpenseSubCategory
OData collection
ExpenseSubCategories
Category
Not set
Module
Travel and expense
Read-only
No
Data management enabled
Yes
Configuration key
Trv
Keys
ExpenseCategory, SharedSubCategoryName
Staging table
TrvExpenseSubCategoryStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ExpenseSubCategories
Dataverse virtual table
mserp_trvexpensesubcategoryentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • TrvExpSubCategory · root
  • TrvSharedSubCategory · InnerJoin to TrvExpSubCategory · read-only
  • LedgerDimensionDAVC (table DimensionCombinationEntity) · OuterJoin to TrvExpSubCategory · read-only

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ExpenseCategoryExpense category the subcategory belongs to.String (30)
TrvCostTypeEDT
YesYesTrvCostType.CostTypeTrvExpSubCategory.CostType
DisplayOrderNumber that sets the order in which the subcategory is shown.Integer
Integer
NoYesTrvExpSubCategory.DisplayOrder
IsInactiveYes/No flag marking the subcategory as inactive.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpSubCategory.IsInactive
LedgerDimensionLedger account, with its dimensions, linked to the subcategory.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTrvExpSubCategory.LedgerDimension
TaxItemGroupItem sales tax group for the subcategory.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupTrvExpSubCategory.TaxItemGroup
TaxItemGroupIfBilledToEmployeeAnother item sales tax group, used as an alternative when the expense is billed to an employee.String
SysGroup
NoYesTaxItemGroupHeading.TaxItemGroupTrvExpSubCategory.TaxItemGroupIfBilledToEmployee
TrvSharedSubCategoryRecord ID of the shared subcategory that gives this record its name.Int64
RefRecId
YesNo (private)TrvSharedSubCategory.RecIdTrvExpSubCategory.TrvSharedSubCategory
SharedSubCategoryNameName of the expense subcategory.String (40)
TrvExpSubCategoryName
YesYesTrvSharedSubCategory.Name
SubCategoryRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesTrvExpSubCategory.RecId
LedgerDimensionDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

Foreign keys (5)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with TrvExpenseSubCategoryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk