Table

TrvRequisitionLine

Travel requisition lines

Holds the lines of a travel requisition. Each line has an expense category, estimated amount and date, and optional detail for airline, car rental, mileage or per diem. It can link to a project, merchant, location and ledger dimensions. It belongs to a travel requisition header.

Table name
TrvRequisitionLine
Module
Expense
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
ExpenseTravelRequisition
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (33)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingCurrencyAmountAmount in the accounting currency.Real
AmountMST
NoTrvRequisitionLineBiEntity
AirlineServiceClassAirline class of service: economy, first or business.Enum
TrvAirlineServiceClassEnum (enum)
NoTrvRequisitionLineBiEntity
CarRentalVehicleClassClass of rental vehicle: compact, intermediate or full.Enum
TrvCarRentalVehicleClassEnum (enum)
NoTrvRequisitionLineBiEntity
CategoryExpense category of the line. It points to an expense category.String (30)
TrvCostTypeEDT
YesTrvCostType.CostTypeTrvRequisitionLineBiEntity
DefaultDimensionDefault financial dimensions for the line. It points to a dimension set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
EstimatedDateDate the expense is expected to occur.Date
TrvDateStd
YesTrvRequisitionLineBiEntity
ExchangeRateExchange rate used for the line.Real
ExchRate
NoTrvRequisitionLineBiEntity
ExpTypeKind of expense, such as per diem, mileage, airline or car rental.Enum
TrvExpType (enum)
NoTrvRequisitionLineBiEntity
IsBudgetCheckPendingWhether a budget check is still waiting for this line.Enum
NoYes (enum)
NoTrvRequisitionLineBiEntity
LegalEntityLegal entity of the line. It points to a company record.Int64
LegalEntity
YesCompanyInfo.RecIdTrvRequisitionLineBiEntity
MerchantMerchant linked to the line. It points to a merchant record.String (255)
TrvExpMerchantId
NoTrvExpMerchant.MerchantIdTrvRequisitionLineBiEntity
MileageDistance travelled.Real
TrvMileage
NoTrvRequisitionLineBiEntity
MileageRateRate paid for the mileage.Real
TrvCostRate
NoTrvRequisitionLineBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PerdiemDateFromStart date and time of the per diem.UtcDateTime
TrvDateTime
NoTrvRequisitionLineBiEntity
PerdiemDateToEnd date and time of the per diem.UtcDateTime
TrvDateTime
NoTrvRequisitionLineBiEntity
PerdiemLocationLocation name used for the per diem.String (128)NoNone
ProjActivityNumberProject activity linked to the line. It points to an activity record.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberTrvRequisitionLineBiEntity
ProjLinePropertyIdLine property that shows whether the line is billable. It points to a line property.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdTrvRequisitionLineBiEntity
ProjPolicyStatusResult of the policy check on the line, such as passed, warning or failed.Enum
ProjExpPolicyStatus (enum)
NoTrvRequisitionLineBiEntity
ProjPolicyTextMessage text produced by the policy check.String (-1)
SysInfoLogStr
NoTrvRequisitionLineBiEntity
ProjTableProject the line is charged to. It points to a project record.Int64
RefRecId
NoProjTable.RecIdTrvRequisitionLineBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTrvRequisitionLineBiEntity
ReconciliationStatusWhether the line is open or closed for reconciliation.Enum
TrvRequisitionReconciliationStatus (enum)
NoTrvRequisitionLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoTrvRequisitionLineBiEntity
ReferenceDataAreaIdCompany the referenced records belong to.String
DataAreaId
NoCompanyInfo.DataAreaTrvRequisitionLineBiEntity
SourceDocumentLineSource document line linked to this line. It points to a source document line.Int64
RefRecId
NoSourceDocumentLine.RecIdTrvRequisitionLineBiEntity
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
TransactionCurrencyAmountEstimated amount in the transaction currency.Real
TrvTransactionCurrencyAmount
NoTrvRequisitionLineBiEntity
TransactionCurrencyCodeCurrency of the estimated amount. It points to a currency.String (3)
TrvCurrencyCode
YesCurrency.CurrencyCodeTrvRequisitionLineBiEntity
TrvLocationsTravel location of the line. It points to a travel location record.Int64
RefRecId
NoTrvLocations.RecIdTrvRequisitionLineBiEntity
TrvRequisitionTableTravel requisition the line belongs to. It points to a requisition header.Int64
RefRecId
YesTrvRequisitionTable.RecIdTrvRequisitionLineBiEntity

Indexes (4)

Relations (12)

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

  • CompanyInfo → CompanyInfo

    Join on ReferenceDataAreaId = CompanyInfo.DataArea

    Many TrvRequisitionLine records → zero or one CompanyInfo record

  • Currency → Currency

    Join on TransactionCurrencyCode = Currency.CurrencyCode

    Many TrvRequisitionLine records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many TrvRequisitionLine records → zero or one DimensionAttributeValueSet record

  • LegalEntity → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many TrvRequisitionLine records → exactly one CompanyInfo record

  • ProjLineProperty → ProjLineProperty

    Join on ReferenceDataAreaId = ProjLineProperty.dataAreaId, ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many TrvRequisitionLine records → zero or one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjTable = ProjTable.RecId

    Many TrvRequisitionLine records → zero or one ProjTable record

  • smmActivities → smmActivities

    Join on ReferenceDataAreaId = smmActivities.dataAreaId, ProjActivityNumber = smmActivities.ActivityNumber

    Many TrvRequisitionLine records → zero or one smmActivities record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Zero or one TrvRequisitionLine record → exactly one SourceDocumentLine record

  • TrvCostType → TrvCostType

    Join on ReferenceDataAreaId = TrvCostType.dataAreaId, Category = TrvCostType.CostType

    Many TrvRequisitionLine records → exactly one TrvCostType record

  • TrvExpMerchant → TrvExpMerchant

    Join on ReferenceDataAreaId = TrvExpMerchant.dataAreaId, Merchant = TrvExpMerchant.MerchantId

    Many TrvRequisitionLine records → zero or one TrvExpMerchant record

  • TrvLocations → TrvLocations

    Join on TrvLocations = TrvLocations.RecId

    Many TrvRequisitionLine records → zero or one TrvLocations record

  • TrvRequisitionTable → TrvRequisitionTable

    Join on TrvRequisitionTable = TrvRequisitionTable.RecId

    Many TrvRequisitionLine records → exactly one TrvRequisitionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk