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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyAmountAmount in the accounting currency. | RealAmountMST | No | TrvRequisitionLineBiEntity | |
AirlineServiceClassAirline class of service: economy, first or business. | EnumTrvAirlineServiceClassEnum (enum) | No | TrvRequisitionLineBiEntity | |
CarRentalVehicleClassClass of rental vehicle: compact, intermediate or full. | EnumTrvCarRentalVehicleClassEnum (enum) | No | TrvRequisitionLineBiEntity | |
CategoryExpense category of the line. It points to an expense category. | String (30)TrvCostTypeEDT | Yes | TrvCostType.CostType | TrvRequisitionLineBiEntity |
DefaultDimensionDefault financial dimensions for the line. It points to a dimension set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
EstimatedDateDate the expense is expected to occur. | DateTrvDateStd | Yes | TrvRequisitionLineBiEntity | |
ExchangeRateExchange rate used for the line. | RealExchRate | No | TrvRequisitionLineBiEntity | |
ExpTypeKind of expense, such as per diem, mileage, airline or car rental. | EnumTrvExpType (enum) | No | TrvRequisitionLineBiEntity | |
IsBudgetCheckPendingWhether a budget check is still waiting for this line. | EnumNoYes (enum) | No | TrvRequisitionLineBiEntity | |
LegalEntityLegal entity of the line. It points to a company record. | Int64LegalEntity | Yes | CompanyInfo.RecId | TrvRequisitionLineBiEntity |
MerchantMerchant linked to the line. It points to a merchant record. | String (255)TrvExpMerchantId | No | TrvExpMerchant.MerchantId | TrvRequisitionLineBiEntity |
MileageDistance travelled. | RealTrvMileage | No | TrvRequisitionLineBiEntity | |
MileageRateRate paid for the mileage. | RealTrvCostRate | No | TrvRequisitionLineBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PerdiemDateFromStart date and time of the per diem. | UtcDateTimeTrvDateTime | No | TrvRequisitionLineBiEntity | |
PerdiemDateToEnd date and time of the per diem. | UtcDateTimeTrvDateTime | No | TrvRequisitionLineBiEntity | |
PerdiemLocationLocation name used for the per diem. | String (128) | No | None | |
ProjActivityNumberProject activity linked to the line. It points to an activity record. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | TrvRequisitionLineBiEntity |
ProjLinePropertyIdLine property that shows whether the line is billable. It points to a line property. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | TrvRequisitionLineBiEntity |
ProjPolicyStatusResult of the policy check on the line, such as passed, warning or failed. | EnumProjExpPolicyStatus (enum) | No | TrvRequisitionLineBiEntity | |
ProjPolicyTextMessage text produced by the policy check. | String (-1)SysInfoLogStr | No | TrvRequisitionLineBiEntity | |
ProjTableProject the line is charged to. It points to a project record. | Int64RefRecId | No | ProjTable.RecId | TrvRequisitionLineBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | TrvRequisitionLineBiEntity | |
ReconciliationStatusWhether the line is open or closed for reconciliation. | EnumTrvRequisitionReconciliationStatus (enum) | No | TrvRequisitionLineBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | TrvRequisitionLineBiEntity | |
ReferenceDataAreaIdCompany the referenced records belong to. | StringDataAreaId | No | CompanyInfo.DataArea | TrvRequisitionLineBiEntity |
SourceDocumentLineSource document line linked to this line. It points to a source document line. | Int64RefRecId | No | SourceDocumentLine.RecId | TrvRequisitionLineBiEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCurrencyAmountEstimated amount in the transaction currency. | RealTrvTransactionCurrencyAmount | No | TrvRequisitionLineBiEntity | |
TransactionCurrencyCodeCurrency of the estimated amount. It points to a currency. | String (3)TrvCurrencyCode | Yes | Currency.CurrencyCode | TrvRequisitionLineBiEntity |
TrvLocationsTravel location of the line. It points to a travel location record. | Int64RefRecId | No | TrvLocations.RecId | TrvRequisitionLineBiEntity |
TrvRequisitionTableTravel requisition the line belongs to. It points to a requisition header. | Int64RefRecId | Yes | TrvRequisitionTable.RecId | TrvRequisitionLineBiEntity |
Indexes (4)
LegalEntityIdxNot unique.
SourceDocumentLineIdxNot unique.
TrvRequisitionTableIdxNot unique.
ProjTableIdxNot unique.
Relations (12)
Each relation joins TrvRequisitionLine to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
ReferenceDataAreaId = CompanyInfo.DataAreaMany TrvRequisitionLine records → zero or one CompanyInfo record
Currency→CurrencyJoin on
TransactionCurrencyCode = Currency.CurrencyCodeMany TrvRequisitionLine records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TrvRequisitionLine records → zero or one DimensionAttributeValueSet record
LegalEntity→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany TrvRequisitionLine records → exactly one CompanyInfo record
ProjLineProperty→ProjLinePropertyJoin on
ReferenceDataAreaId = ProjLineProperty.dataAreaId,ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany TrvRequisitionLine records → zero or one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjTable = ProjTable.RecIdMany TrvRequisitionLine records → zero or one ProjTable record
smmActivities→smmActivitiesJoin on
ReferenceDataAreaId = smmActivities.dataAreaId,ProjActivityNumber = smmActivities.ActivityNumberMany TrvRequisitionLine records → zero or one smmActivities record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero or one TrvRequisitionLine record → exactly one SourceDocumentLine record
TrvCostType→TrvCostTypeJoin on
ReferenceDataAreaId = TrvCostType.dataAreaId,Category = TrvCostType.CostTypeMany TrvRequisitionLine records → exactly one TrvCostType record
TrvExpMerchant→TrvExpMerchantJoin on
ReferenceDataAreaId = TrvExpMerchant.dataAreaId,Merchant = TrvExpMerchant.MerchantIdMany TrvRequisitionLine records → zero or one TrvExpMerchant record
TrvLocations→TrvLocationsJoin on
TrvLocations = TrvLocations.RecIdMany TrvRequisitionLine records → zero or one TrvLocations record
TrvRequisitionTable→TrvRequisitionTableJoin on
TrvRequisitionTable = TrvRequisitionTable.RecIdMany 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.
TrvRequisitionLineBiEntity· 28 fields from this table
Need help with TrvRequisitionLine in a report, an integration or a migration? Talk to Dr Dynamics.