Table

TrvLocations

Travel locations

Lists travel locations, identified by country/region, state or province, and location name. It links to the country/region and state tables. Per diem rates and mobile expense data refer to these locations.

Table name
TrvLocations
Module
Expense
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
TrvPerDiem
Primary index
Location
Replacement key
Location
Key fields
CountryRegionId, StateId, Location
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CountryRegionIdCountry/region of the location. It points to a country/region record.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdTrvPerDiemLocationsEntityTrvExpTransMobileV2EntityTrvAllowanceRateEntityand 8 more
StateIdState or province of the location. It points to a state record in the same country/region.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdTrvPerDiemLocationsEntityTrvExpTransMobileV2EntityTrvAllowanceRateEntityand 8 more
LocationName of the travel location.String (128)
TrvLocation
YesTrvExpMobileTrvLocationEntityTrvPerDiemLocationsEntityTrvExpTransMobileV2Entityand 9 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoTrvExpMobileTrvLocationEntity
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
NoTrvExpMobileTrvLocationEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • Country → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many TrvLocations records → exactly one LogisticsAddressCountryRegion record

  • State → LogisticsAddressState

    Join on CountryRegionId = LogisticsAddressState.CountryRegionId, StateId = LogisticsAddressState.StateId

    Many TrvLocations records → zero or one LogisticsAddressState record

Get this data out

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

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

Email sales@drdynamics.co.uk