Data entity
TrvExpTableBiEntity
Read-only expense reports for BI and analytics, keyed by expense report number and legal entity. It holds report header data such as employee, worker, document status, payment and posting details, project and purpose. It also has audit fields such as created and modified by.
- Entity name
TrvExpTableBiEntity- Public entity name
TrvExpTableBiEntity- OData collection
TrvExpTableBiEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
Trv- Keys
ExpNumber, LegalEntity- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TrvExpTableBiEntities- Dataverse virtual table
mserp_trvexptablebientity. 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
TrvExpTable· root
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | TrvExpTable.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | TrvExpTable.RecVersion | |
AntiCorruptionApproverFlagYes/No flag for the anti-corruption statement on the approver side.low confidence | Enum
| No | Yes | TrvExpTable.AntiCorruptionApproverFlag | |
AntiCorruptionSubmitterFlagYes/No flag for the anti-corruption statement on the submitter side.low confidence | Enum
| No | Yes | TrvExpTable.AntiCorruptionSubmitterFlag | |
ApprovalStatusStatus of the report, such as draft, submitted, approved or rejected. | Enum
| No | Yes | TrvExpTable.ApprovalStatus | |
SysCreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | TrvExpTable.CreatedBy | |
SysCreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | TrvExpTable.CreatedDateTime | |
SysCreatedTransactionIdA system number for the database transaction that created the record. | Int64CreatedTransactionId | No | Yes | TrvExpTable.CreatedTransactionId | |
CreatingWorkerEmployee who created the report. | Int64TrvHcmWorkerRecId | Yes | Yes | HcmWorker.RecId | TrvExpTable.CreatingWorker |
CustAccountCustomer account linked to the report. | String (20)CustAccount | No | Yes | CustTable.AccountNum | TrvExpTable.CustAccount |
DestinationTravel location linked to the report. | String (255)TrvDestination | No | Yes | TrvDestinations.Destination | TrvExpTable.Destination |
ExpNumberNumber that identifies the expense report. | String (20)TrvExpNumber | Yes | Yes | TrvExpTable.ExpNumber | |
FinalApproverWorker who gave the final approval. | Int64HcmWorkerRecId | No | Yes | HcmWorker.RecId | TrvExpTable.FinalApprover |
InterCompanyLELegal entity for which the expenses are reported. | StringTrvLegalEntity | Yes | Yes | CompanyInfo.DataArea | TrvExpTable.InterCompanyLE |
InvoiceIdInvoice ID of the expense. | String (20)TrvExpInvoiceId | No | Yes | TrvExpTable.InvoiceId | |
LegalEntityLegal entity the report belongs to. | Int64LegalEntity | No | Yes | CompanyInfo.RecId | TrvExpTable.LegalEntity |
SysModifiedByThe user who last changed the record. | String (20)ModifiedBy | No | Yes | TrvExpTable.ModifiedBy | |
SysModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | TrvExpTable.ModifiedDateTime | |
SysModifiedTransactionIdA system number for the database transaction that last changed the record. | Int64ModifiedTransactionId | No | Yes | TrvExpTable.ModifiedTransactionId | |
PaymentDateDate of the payment. | DateTrvDateStd | No | Yes | TrvExpTable.PaymentDate | |
PaymentVoucherVoucher that identifies the payment. | String (200)PaymId | No | Yes | TrvExpTable.PaymentVoucher | |
PostedDateDate the report was posted. | DateTrvDateStd | No | Yes | TrvExpTable.PostedDate | |
PreApprovalNumberNumber of the pre-approval for the expense. | String (20)TrvPreApprovalNumber | No | Yes | TrvExpTable.PreApprovalNumber | |
ProjIdProject linked to the report. | String (20)ProjId | No | Yes | ProjTable.ProjId | TrvExpTable.ProjId |
ProjStatusIdProject line property set on the report. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | TrvExpTable.ProjStatusId |
ReferenceDataAreaIdCompany the report belongs to. | StringDataAreaId | No | Yes | CompanyInfo.DataArea | TrvExpTable.ReferenceDataAreaId |
SourceDocumentHeaderRecord ID of the linked source document header. | Int64RefRecId | No | Yes | SourceDocumentHeader.RecId | TrvExpTable.SourceDocumentHeader |
SourceDocumentLineRecord ID of the linked source document line. | Int64RefRecId | No | Yes | SourceDocumentLine.RecId | TrvExpTable.SourceDocumentLine |
Txt1Description of the report. | String (1000)ItemFreeTxt | No | Yes | TrvExpTable.Txt1 | |
Txt2Purpose of the report, taken from the list of expense purposes. | String (60)TrvTravelTxtEDT | No | Yes | TrvTravelTxt.Txt | TrvExpTable.Txt2 |
VendAccountVendor account linked to the report. | String (20)VendAccount | No | Yes | VendTable.AccountNum | TrvExpTable.VendAccount |
Foreign keys (13)
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.
CreatingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvExpTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
CustAccount→CustTable.AccountNum(key of CustTable)Join on all of:
CustAccount=CustTable.AccountNum,ReferenceDataAreaId=CustTable.dataAreaIdMany TrvExpTable records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
Destination→TrvDestinations.Destination(key of TrvDestinations)Join on all of:
Destination=TrvDestinations.Destination,ReferenceDataAreaId=TrvDestinations.dataAreaIdMany TrvExpTable records → zero or one TrvDestinations record
TrvDestinations details: see TrvTravelLocationEntity
FinalApprover→HcmWorker.RecId(key of HcmWorker)Many TrvExpTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
InterCompanyLE→CompanyInfo.DataArea(key of CompanyInfo)Many TrvExpTable records → zero or one CompanyInfo record
CompanyInfo details: see OMLegalEntity, TrvExpMobileExpenseLineAttachedToReportEntity, TrvExpMobileLineApprovalEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many TrvExpTable records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
ProjId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjId=ProjTable.ProjId,InterCompanyLE=ProjTable.dataAreaIdMany TrvExpTable records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjStatusId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Join on all of:
ProjStatusId=ProjLineProperty.LinePropertyId,InterCompanyLE=ProjLineProperty.dataAreaIdMany TrvExpTable records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
ReferenceDataAreaId→CompanyInfo.DataArea(key of CompanyInfo)Many TrvExpTable records → zero or one CompanyInfo record
CompanyInfo details: see OMLegalEntity, TrvExpMobileExpenseLineAttachedToReportEntity, TrvExpMobileLineApprovalEntity
SourceDocumentHeader→SourceDocumentHeader.RecId(key of SourceDocumentHeader)Zero or one TrvExpTable record → zero or one SourceDocumentHeader record
SourceDocumentHeader details: see SourceDocumentHeaderBiEntity
SourceDocumentLine→SourceDocumentLine.RecId(key of SourceDocumentLine)Many TrvExpTable records → zero or one SourceDocumentLine record
SourceDocumentLine details: see SourceDocumentLineBiEntity, SourceDocumentLineCDREntity
Txt2→TrvTravelTxt.Txt(key of TrvTravelTxt)Join on all of:
Txt2=TrvTravelTxt.Txt,ReferenceDataAreaId=TrvTravelTxt.dataAreaIdMany TrvExpTable records → zero or one TrvTravelTxt record
TrvTravelTxt details: see TrvExpenseReportPurposeEntity, DimAttributeTrvTravelTxtEntity
VendAccount→VendTable.AccountNum(key of VendTable)Join on all of:
VendAccount=VendTable.AccountNum,ReferenceDataAreaId=VendTable.dataAreaIdMany TrvExpTable records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
Need help with TrvExpTableBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.