Data entity

TrvRequisitionLineBiEntity

Read-only travel requisition lines for BI and analytics. Each line has an estimated date and amount, expense category, merchant, location, project and reconciliation status. Travel details such as mileage, per diem dates and vehicle or airline class are also included.

Entity name
TrvRequisitionLineBiEntity
Public entity name
TrvRequisitionLineBiEntity
OData collection
TrvRequisitionLineBiEntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
ExpenseTravelRequisition
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/TrvRequisitionLineBiEntities
Dataverse virtual table
mserp_trvrequisitionlinebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • TrvRequisitionLine · root · read-only

Fields (28)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingCurrencyAmountAmount in the accounting currency.Real
AmountMST
NoYesTrvRequisitionLine.AccountingCurrencyAmount
AirlineServiceClassAirline class of service: economy, first or business.Enum
TrvAirlineServiceClassEnum
  • EconomyClass 0
  • FirstClass 1
  • BusinessClass 2
NoYesTrvRequisitionLine.AirlineServiceClass
CarRentalVehicleClassClass of rental vehicle: compact, intermediate or full.Enum
TrvCarRentalVehicleClassEnum
  • Compact 0
  • Intermediate 1
  • Full 2
NoYesTrvRequisitionLine.CarRentalVehicleClass
CategoryExpense category of the line. It points to an expense category.String (30)
TrvCostTypeEDT
YesYesTrvCostType.CostTypeTrvRequisitionLine.Category
EstimatedDateDate the expense is expected to occur.Date
TrvDateStd
YesYesTrvRequisitionLine.EstimatedDate
ExchangeRateExchange rate used for the line.Real
ExchRate
NoYesTrvRequisitionLine.ExchangeRate
ExpTypeKind of expense, such as per diem, mileage, airline or car rental.Enum
TrvExpType
  • Empty 0
  • Expense 1
  • Advance 2
  • Allowance 3
  • Transport 4
  • Personal 5
  • Airline 6
  • CarRental 7
  • Conference 8
  • Entertainment 9
  • Hotel 10
  • Meals 11
  • Gift 12
NoYesTrvRequisitionLine.ExpType
IsBudgetCheckPendingWhether a budget check is still waiting for this line.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvRequisitionLine.IsBudgetCheckPending
LegalEntityLegal entity of the line. It points to a company record.Int64
LegalEntity
YesYesCompanyInfo.RecIdTrvRequisitionLine.LegalEntity
MerchantMerchant linked to the line. It points to a merchant record.String (255)
TrvExpMerchantId
NoYesTrvExpMerchant.MerchantIdTrvRequisitionLine.Merchant
MileageDistance travelled.Real
TrvMileage
NoYesTrvRequisitionLine.Mileage
MileageRateRate paid for the mileage.Real
TrvCostRate
NoYesTrvRequisitionLine.MileageRate
PerdiemDateFromStart date and time of the per diem.UtcDateTime
TrvDateTime
NoYesTrvRequisitionLine.PerdiemDateFrom
PerdiemDateToEnd date and time of the per diem.UtcDateTime
TrvDateTime
NoYesTrvRequisitionLine.PerdiemDateTo
ProjActivityNumberProject activity linked to the line. It points to an activity record.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberTrvRequisitionLine.ProjActivityNumber
ProjLinePropertyIdLine property that shows whether the line is billable. It points to a line property.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdTrvRequisitionLine.ProjLinePropertyId
ProjPolicyStatusResult of the policy check on the line, such as passed, warning or failed.Enum
ProjExpPolicyStatus
  • NoPolicy 0
  • ExpensePassed 1
  • DayPassed 3
  • ReportPassed 2
  • ExpenseWarning 4
  • DayWarning 5
  • ReportWarning 6
  • ExpenseFailed 7
  • DayFailed 8
  • ReportFailed 9
NoYesTrvRequisitionLine.ProjPolicyStatus
ProjPolicyTextMessage text produced by the policy check.String (-1)
SysInfoLogStr
NoYesTrvRequisitionLine.ProjPolicyText
ProjTableProject the line is charged to. It points to a project record.Int64
RefRecId
NoYesProjTable.RecIdTrvRequisitionLine.ProjTable
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesTrvRequisitionLine.RecId
ReconciliationStatusWhether the line is open or closed for reconciliation.Enum
TrvRequisitionReconciliationStatus
  • Open 0
  • Closed 1
NoYesTrvRequisitionLine.ReconciliationStatus
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesTrvRequisitionLine.RecVersion
ReferenceDataAreaIdCompany the referenced records belong to.String
DataAreaId
NoYesCompanyInfo.DataAreaTrvRequisitionLine.ReferenceDataAreaId
SourceDocumentLineSource document line linked to this line. It points to a source document line.Int64
RefRecId
NoYesSourceDocumentLine.RecIdTrvRequisitionLine.SourceDocumentLine
TransactionCurrencyAmountEstimated amount in the transaction currency.Real
TrvTransactionCurrencyAmount
NoYesTrvRequisitionLine.TransactionCurrencyAmount
TransactionCurrencyCodeCurrency of the estimated amount. It points to a currency.String (3)
TrvCurrencyCode
YesYesCurrency.CurrencyCodeTrvRequisitionLine.TransactionCurrencyCode
TrvLocationsTravel location of the line. It points to a travel location record.Int64
RefRecId
NoYesTrvLocations.RecIdTrvRequisitionLine.TrvLocations
TrvRequisitionTableTravel requisition the line belongs to. It points to a requisition header.Int64
RefRecId
YesYesTrvRequisitionTable.RecIdTrvRequisitionLine.TrvRequisitionTable

Foreign keys (11)

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 TrvRequisitionLineBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk