Table

TrvPerDiems

Per diems

Holds per diem rates for a travel location over a date range. Each record gives hotel, meal and other allowances with a currency, plus the percentage reductions for provided meals. The key is the location with the start and end dates.

Table name
TrvPerDiems
Module
Expense
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
TrvPerDiem
Primary index
RecId
Replacement key
TrvLocationDates
Key fields
TrvLocations, DateFrom, DateTo
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TrvLocationsTravel location the rate applies to. It points to a travel location record.Int64
RefRecId
YesTrvLocations.RecIdNone
DateFromFirst date the rate applies.Date
TrvDateFrom
NoTrvPerDiemsEntityTrvAllowanceRateEntity
DateToLast date the rate applies.Date
TrvDateTo
NoTrvPerDiemsEntityTrvAllowanceRateEntity
CurrencyCurrency of the allowance amounts. It points to a currency.String (3)
CurrencyCode
YesCurrency.CurrencyCodeTrvPerDiemsEntityTrvExpMobileTrvLocationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductBreakfPercentage taken off when breakfast is provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
DeductDinnerPercentage taken off when dinner is provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
DeductLunchPercentage taken off when lunch is provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
DeductOneMealPercentage taken off when one meal is provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
DeductThreeOrMoreMealsPercentage taken off when three or more meals are provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
DeductTwoMealsPercentage taken off when two meals are provided.Real
TrvRealBasePositive
NoTrvPerDiemsEntity
HotelAllowanceAllowance amount for hotel.Real
TrvPerDiemAmountCur
NoTrvPerDiemsEntity
LocationName of the travel location.String (128)
TrvLocation
NoNone
MealAllowanceAllowance amount for meals.Real
TrvPerDiemAmountCur
NoTrvPerDiemsEntity
OtherAllowanceAllowance amount for other costs.Real
TrvPerDiemAmountCur
NoTrvPerDiemsEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins TrvPerDiems to another table on the fields shown.

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many TrvPerDiems records → exactly one Currency record

  • TrvLocations → TrvLocations

    Join on TrvLocations = TrvLocations.RecId

    Many TrvPerDiems records → exactly one TrvLocations record

Get this data out

Tables are not exposed directly. These public entities read from TrvPerDiems; use one of them in Power BI, Power Platform or a data management project.

Need help with TrvPerDiems in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk