Table

TrvAllowanceRate

Allowance rate

Holds allowance rate rules for per diems. Each record is keyed by the per diem, a minimum number of hours and the day type it applies to. It stores hour limits and percentage reductions for meals, hotel and other items.

Table name
TrvAllowanceRate
Module
Expense
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
TrvPerDiem
Primary index
RecId
Replacement key
PerDiemRecIdIdx
Key fields
PerDiemRecId, FromQty, TrvFirstLastBoth
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PerDiemRecIdPoints to the per diem record the rate belongs to.Int64
RefRecId
YesTrvPerDiems.RecIdTrvAllowanceRateEntity
FromQtyLowest number of hours for which the rate applies.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
TrvFirstLastBothDay type the rate applies to: first day, last day, both or middle.Enum
TrvFirstLastBoth (enum)
NoTrvAllowanceRateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductBreakfPercentage reduction when breakfast is provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
DeductDinnerPercentage reduction when dinner is provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
DeductLunchPercentage reduction when lunch is provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
DeductOneMealPercentage reduction when one meal is provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
DeductThreeOrMoreMealsPercentage reduction when three or more meals are provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
DeductTwoMealsPercentage reduction when two meals are provided.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
HotelReductionPercentage reduction for hotel.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
MealReductionPercentage reduction for meals.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
OtherReductionPercentage reduction for other items.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity
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
ToQtyHighest number of hours for which the rate applies.Real
TrvRealBasePositive
NoTrvAllowanceRateEntity

Indexes (1)

Relations (1)

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

  • PerDiemRecId → TrvPerDiems

    Join on PerDiemRecId = TrvPerDiems.RecId

    Many TrvAllowanceRate records → exactly one TrvPerDiems record

Get this data out

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

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

Email sales@drdynamics.co.uk