Data entity
TrvExpTableMobileEntity
Expense reports for the mobile app, keyed by expense report number and company. It has report header data such as document status, payment details, purpose, employee and vendor account. It also has the total amount and policy violation counts.
- Entity name
TrvExpTableMobileEntity- Public entity name
MobileExpReport- OData collection
MobileExpReports- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
ExpenseReportNumber, DataArea- Staging table
TrvExpTableMobileStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MobileExpReports- Dataverse virtual table
mserp_trvexptablemobileentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
TrvExpTable· rootLegalEntity(tableCompanyInfo) · OuterJoin toTrvExpTableTrvHcmWorker(tableHcmWorker) · InnerJoin toTrvExpTableDirPerson_FK(tableDirPerson) · InnerJoin toTrvHcmWorker· read-only
Fields (33)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
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 | |
DocumentStatusStatus of the report, such as draft, submitted, approved or rejected. | Enum
| No | Yes | TrvExpTable.ApprovalStatus | |
EmployeeEmployee who created the report. | Int64TrvHcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | TrvExpTable.CreatingWorker |
CustomerAccountCustomer account linked to the report. | String (20)CustAccount | No | Yes | CustTable.AccountNum | TrvExpTable.CustAccount |
DimensionDefault financial dimension values for the report. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | TrvExpTable.DefaultDimension |
LocationTravel location linked to the report. | String (255)TrvDestination | No | Yes | TrvDestinations.Destination | TrvExpTable.Destination |
ExpenseReportNumberNumber that identifies the expense report. | String (20)TrvExpNumber | No | Yes | TrvExpTable.ExpNumber | |
WorkerWorker who gave the final approval. | Int64HcmWorkerRecId | No | No (private) | HcmWorker.RecId | TrvExpTable.FinalApprover |
LegalEntityLegal entity the report belongs to. | Int64LegalEntity | No | No (private) | CompanyInfo.RecId | TrvExpTable.LegalEntity |
LegalEntityForExpensesLegal entity for which the expenses are reported. | StringTrvLegalEntity | Yes | Yes | CompanyInfo.DataArea | TrvExpTable.InterCompanyLE |
InvoiceInvoice ID of the expense. | String (20)TrvExpInvoiceId | No | Yes | TrvExpTable.InvoiceId | |
PaymentDateDate of the payment. | DateTrvDateStd | No | Yes | TrvExpTable.PaymentDate | |
PaymentVoucherVoucher that identifies the payment. | String (200)PaymId | No | Yes | TrvExpTable.PaymentVoucher | |
PreApprovalNumberNumber of the pre-approval for the expense. | String (20)TrvPreApprovalNumber | No | Yes | TrvExpTable.PreApprovalNumber | |
PostedDateDate the report was posted. | DateTrvDateStd | No | Yes | TrvExpTable.PostedDate | |
CompanyCompany the report belongs to. | StringDataAreaId | No | Yes | CompanyInfo.DataArea | TrvExpTable.ReferenceDataAreaId |
SourceDocumentHeaderRecord ID of the linked source document header. | Int64RefRecId | No | No (private) | SourceDocumentHeader.RecId | TrvExpTable.SourceDocumentHeader |
SourceDocumentLineRecord ID of the linked source document line. | Int64RefRecId | No | No (private) | SourceDocumentLine.RecId | TrvExpTable.SourceDocumentLine |
DescriptionDescription of the report. | String (1000)ItemFreeTxt | No | Yes | TrvExpTable.Txt1 | |
PurposePurpose of the report, taken from the list of expense purposes. | String (60)TrvTravelTxtEDT | No | Yes | TrvTravelTxt.Txt | TrvExpTable.Txt2 |
VendorAccountVendor account linked to the report. | String (20)VendAccount | No | Yes | VendTable.AccountNum | TrvExpTable.VendAccount |
LegalEntity_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
DataAreaCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
TrvHcmWorker_PersonPoints to the person record that holds the worker's name. | Int64DirPartyRecId | Yes | No (private) | DirPerson.RecId | HcmWorker.Person |
EmployeePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DirPerson_FK_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
CreatingWorkerEmployee who created the report. | Int64TrvHcmWorkerRecId | Yes | Yes | HcmWorker.RecId | TrvExpTable.CreatingWorker |
CreatedDateThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | TrvExpTable.CreatedDateTime | |
TitlePurpose of the report, taken from the list of expense purposes. | String (60)TrvTravelTxtEDT | No | Yes | TrvTravelTxt.Txt | TrvExpTable.Txt2 |
AmountTotalTotal amount of the expense report, in the company currency. | RealAmountMST | No | Yes | virtual | |
PolicyViolationsLevelNumber showing how serious the policy violations on the report are.low confidence | Int64 | No | Yes | virtual | |
PolicyViolationCountNumber of policy violations found on the report. | Integer | No | Yes | virtual |
Foreign keys (15)
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.
Employee→HcmWorker.RecId(key of HcmWorker)Many TrvExpTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
CustomerAccount→CustTable.AccountNum(key of CustTable)Join on all of:
CustomerAccount=CustTable.AccountNum,Company=CustTable.dataAreaIdMany TrvExpTable records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
Dimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many TrvExpTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
Location→TrvDestinations.Destination(key of TrvDestinations)Join on all of:
Location=TrvDestinations.Destination,Company=TrvDestinations.dataAreaIdMany TrvExpTable records → zero or one TrvDestinations record
TrvDestinations details: see TrvTravelLocationEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many TrvExpTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many TrvExpTable records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
LegalEntityForExpenses→CompanyInfo.DataArea(key of CompanyInfo)Many TrvExpTable records → zero or one CompanyInfo record
CompanyInfo details: see OMLegalEntity, TrvExpMobileExpenseLineAttachedToReportEntity, TrvExpMobileLineApprovalEntity
Company→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
Purpose→TrvTravelTxt.Txt(key of TrvTravelTxt)Join on all of:
Purpose=TrvTravelTxt.Txt,Company=TrvTravelTxt.dataAreaIdMany TrvExpTable records → zero or one TrvTravelTxt record
TrvTravelTxt details: see TrvExpenseReportPurposeEntity, DimAttributeTrvTravelTxtEntity
VendorAccount→VendTable.AccountNum(key of VendTable)Join on all of:
VendorAccount=VendTable.AccountNum,Company=VendTable.dataAreaIdMany TrvExpTable records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
TrvHcmWorker_Person→DirPerson.RecId(key of DirPerson)Zero or one HcmWorker record → exactly one DirPerson record
DirPerson details: see CustCustomerBaseEntity, CustFoundationEntity, DirPartyCDSEntity
CreatingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvExpTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Title→TrvTravelTxt.Txt(key of TrvTravelTxt)Join on all of:
Title=TrvTravelTxt.Txt,Company=TrvTravelTxt.dataAreaIdMany TrvExpTable records → zero or one TrvTravelTxt record
TrvTravelTxt details: see TrvExpenseReportPurposeEntity, DimAttributeTrvTravelTxtEntity
Need help with TrvExpTableMobileEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.