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· rootTrvSharedSubCategory· InnerJoin toTrvExpSubCategory· read-onlyLedgerDimensionDAVC(tableDimensionCombinationEntity) · OuterJoin toTrvExpSubCategory· read-only
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ExpenseCategoryExpense category the subcategory belongs to. | String (30)TrvCostTypeEDT | Yes | Yes | TrvCostType.CostType | TrvExpSubCategory.CostType |
DisplayOrderNumber that sets the order in which the subcategory is shown. | IntegerInteger | No | Yes | TrvExpSubCategory.DisplayOrder | |
IsInactiveYes/No flag marking the subcategory as inactive. | EnumNoYesId
| No | Yes | TrvExpSubCategory.IsInactive | |
LedgerDimensionLedger account, with its dimensions, linked to the subcategory. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TrvExpSubCategory.LedgerDimension |
TaxItemGroupItem sales tax group for the subcategory. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | TrvExpSubCategory.TaxItemGroup |
TaxItemGroupIfBilledToEmployeeAnother item sales tax group, used as an alternative when the expense is billed to an employee. | StringSysGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | TrvExpSubCategory.TaxItemGroupIfBilledToEmployee |
TrvSharedSubCategoryRecord ID of the shared subcategory that gives this record its name. | Int64RefRecId | Yes | No (private) | TrvSharedSubCategory.RecId | TrvExpSubCategory.TrvSharedSubCategory |
SharedSubCategoryNameName of the expense subcategory. | String (40)TrvExpSubCategoryName | Yes | Yes | TrvSharedSubCategory.Name | |
SubCategoryRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | TrvExpSubCategory.RecId | |
LedgerDimensionDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
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.
ExpenseCategory→TrvCostType.CostType(key of TrvCostType)Many TrvExpSubCategory records → exactly one TrvCostType record
TrvCostType details: see TrvExpenseCategoryEntity, ProjExpenseCategoryExportEntity
LedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TrvExpSubCategory records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
TaxItemGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many TrvExpSubCategory records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
TaxItemGroupIfBilledToEmployee→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many TrvExpSubCategory records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Need help with TrvExpenseSubCategoryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.