Data entity
TrvMileageRateEntity
Mileage rate tiers for expense categories. Each rate is keyed by expense category, from date, quantity, rate type and vehicle type. It holds the rate, a description and an end date.
- Entity name
TrvMileageRateEntity- Public entity name
MileageRate- OData collection
MileageRates- Category
Not set- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
ExpenseCategory, FromDate, Quantity, RateType, VehicleType- Staging table
TrvMileageRateStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MileageRates- Dataverse virtual table
mserp_trvmileagerateentity. 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
TrvCostTypeRates· root
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RateRate applied for the tier. | RealTrvCostRate | No | Yes | TrvCostTypeRates.CostRate | |
ExpenseCategoryExpense category the rate belongs to. Points to the expense categories. | String (30)TrvCostTypeEDT | Yes | Yes | TrvCostType.CostType | TrvCostTypeRates.CostType |
DescriptionShort description of the tier. | String (60)Description | No | Yes | TrvCostTypeRates.Description | |
FromDateFirst date the rate is valid. | DateFromDate | No | Yes | TrvCostTypeRates.FromDate | |
QuantityQuantity at which the tier applies. | RealQty | No | Yes | TrvCostTypeRates.Qty | |
RateTypeKind of rate: mileage or passenger. | Enum
| No | Yes | TrvCostTypeRates.RateType | |
ToDateLast date the rate is valid. | DateToDate | No | Yes | TrvCostTypeRates.ToDate | |
VehicleTypeType of vehicle the rate is for. | String (30)TrvVehicleType | No | Yes | TrvCostTypeRates.VehicleType |
Foreign keys (1)
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 TrvCostTypeRates records → exactly one TrvCostType record
TrvCostType details: see TrvExpenseCategoryEntity, ProjExpenseCategoryExportEntity
Need help with TrvMileageRateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.