Data entity

TrvAllowanceRateEntity

Allowance rates for per diems. Each rate applies to a travel location, state, country or region, date range, minimum hours and an apply-to setting. It holds hotel, meal and other percentages and the percentage reductions for meals.

Entity name
TrvAllowanceRateEntity
Public entity name
AllowanceRate
OData collection
AllowanceRates
Category
Reference
Module
Travel and expense
Read-only
No
Data management enabled
Yes
Configuration key
TrvPerDiem
Keys
Location, StateId, CountryRegionId, DateFrom, DateTo, MinimumHours, ApplyTo
Staging table
TrvAllowanceRateStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/AllowanceRates
Dataverse virtual table
mserp_trvallowancerateentity. 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

  • TrvAllowanceRate · root
  • PerDiemRecId (table TrvPerDiems) · InnerJoin to TrvAllowanceRate · read-only
  • TrvLocations · InnerJoin to PerDiemRecId

Fields (18)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ReductionInPercentageForBreakfastPercentage reduction when breakfast is provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductBreakf
ReductionInPercentageForDinnerPercentage reduction when dinner is provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductDinner
ReductionInPercentageForLunchPercentage reduction when lunch is provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductLunch
PercentageReductionFor1MealPercentage reduction when one meal is provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductOneMeal
PercentageReductionFor3OrMoreMealsPercentage reduction when three or more meals are provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductThreeOrMoreMeals
PercentageReductionFor2MealsPercentage reduction when two meals are provided.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.DeductTwoMeals
MinimumHoursLowest number of hours for which the rate applies.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.FromQty
HotelPercentPercentage reduction for hotel.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.HotelReduction
MealPercentPercentage reduction for meals.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.MealReduction
OtherPercentPercentage reduction for other items.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.OtherReduction
ReferencePoints to the per diem record the rate belongs to.Int64
RefRecId
YesNo (private)TrvPerDiems.RecIdTrvAllowanceRate.PerDiemRecId
MaximumHoursHighest number of hours for which the rate applies.Real
TrvRealBasePositive
NoYesTrvAllowanceRate.ToQty
ApplyToDay type the rate applies to: first day, last day, both or middle.Enum
TrvFirstLastBoth
  • FirstDay 0
  • LastDay 1
  • Both 2
  • MiddleDay 3
NoYesTrvAllowanceRate.TrvFirstLastBoth
DateFromFirst date the rate applies.Date
TrvDateFrom
NoYesTrvPerDiems.DateFrom
DateToLast date the rate applies.Date
TrvDateTo
NoYesTrvPerDiems.DateTo
LocationName of the travel location.String (128)
TrvLocation
YesYesTrvLocations.Location
StateIdState or province of the location. It points to a state record in the same country/region.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdTrvLocations.StateId
CountryRegionIdCountry/region of the location. It points to a country/region record.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdTrvLocations.CountryRegionId

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.

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

Email sales@drdynamics.co.uk