Data entity
TrvPerDiemsEntity
Holds per diem rates for travel locations over a date range. Each record is keyed by location, state or province, country or region, and the start and end dates. It stores the currency, amounts for hotel, meals and other costs, and percentage reductions that depend on how many meals are provided.
- Entity name
TrvPerDiemsEntity- Public entity name
PerDiems- OData collection
PerDiems- Category
Reference- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
TrvPerDiem- Keys
Location, StateId, CountryRegionId, DateFrom, DateTo- Staging table
TrvPerDiemsStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PerDiems- Dataverse virtual table
mserp_trvperdiemsentity. 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
TrvPerDiems· rootTrvLocations· InnerJoin toTrvPerDiems· read-only
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CurrencyCurrency of the allowance amounts. It points to a currency. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | TrvPerDiems.Currency |
DateFromFirst date the rate applies. | DateTrvDateFrom | No | Yes | TrvPerDiems.DateFrom | |
DateToLast date the rate applies. | DateTrvDateTo | No | Yes | TrvPerDiems.DateTo | |
HotelAllowanceAllowance amount for hotel. | RealTrvPerDiemAmountCur | No | Yes | TrvPerDiems.HotelAllowance | |
LocationName of the travel location. | String (128)TrvLocation | Yes | Yes | TrvLocations.Location | |
StateIdState or province of the location. It points to a state record in the same country/region. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | TrvLocations.StateId |
CountryRegionIdCountry/region of the location. It points to a country/region record. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | TrvLocations.CountryRegionId |
MealAllowanceAllowance amount for meals. | RealTrvPerDiemAmountCur | No | Yes | TrvPerDiems.MealAllowance | |
OtherAllowanceAllowance amount for other costs. | RealTrvPerDiemAmountCur | No | Yes | TrvPerDiems.OtherAllowance | |
DeductBreakfPercentage taken off when breakfast is provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductBreakf | |
DeductDinnerPercentage taken off when dinner is provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductDinner | |
DeductLunchPercentage taken off when lunch is provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductLunch | |
DeductOneMealPercentage taken off when one meal is provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductOneMeal | |
DeductThreeOrMoreMealsPercentage taken off when three or more meals are provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductThreeOrMoreMeals | |
DeductTwoMealsPercentage taken off when two meals are provided. | RealTrvRealBasePositive | No | Yes | TrvPerDiems.DeductTwoMeals |
Foreign keys (3)
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.
Currency→Currency.CurrencyCode(key of Currency)Many TrvPerDiems records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
StateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
StateId=LogisticsAddressState.StateId,CountryRegionId=LogisticsAddressState.CountryRegionIdMany TrvLocations records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many TrvLocations records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
Need help with TrvPerDiemsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.