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 · root
  • LegalEntity (table CompanyInfo) · OuterJoin to TrvExpTable
  • TrvHcmWorker (table HcmWorker) · InnerJoin to TrvExpTable
  • DirPerson_FK (table DirPerson) · InnerJoin to TrvHcmWorker · read-only

Fields (33)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AntiCorruptionApproverFlagYes/No flag for the anti-corruption statement on the approver side.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTable.AntiCorruptionApproverFlag
AntiCorruptionSubmitterFlagYes/No flag for the anti-corruption statement on the submitter side.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTable.AntiCorruptionSubmitterFlag
DocumentStatusStatus of the report, such as draft, submitted, approved or rejected.Enum
TrvAppStatus
  • None 0
  • Create 1
  • Submitted 2
  • Approved 3
  • Returned 4
  • Ready 5
  • Ledger 6
  • Cancelled 8
  • Pending 9
  • Matched 10
NoYesTrvExpTable.ApprovalStatus
EmployeeEmployee who created the report.Int64
TrvHcmWorkerRecId
YesNo (private)HcmWorker.RecIdTrvExpTable.CreatingWorker
CustomerAccountCustomer account linked to the report.String (20)
CustAccount
NoYesCustTable.AccountNumTrvExpTable.CustAccount
DimensionDefault financial dimension values for the report.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdTrvExpTable.DefaultDimension
LocationTravel location linked to the report.String (255)
TrvDestination
NoYesTrvDestinations.DestinationTrvExpTable.Destination
ExpenseReportNumberNumber that identifies the expense report.String (20)
TrvExpNumber
NoYesTrvExpTable.ExpNumber
WorkerWorker who gave the final approval.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdTrvExpTable.FinalApprover
LegalEntityLegal entity the report belongs to.Int64
LegalEntity
NoNo (private)CompanyInfo.RecIdTrvExpTable.LegalEntity
LegalEntityForExpensesLegal entity for which the expenses are reported.String
TrvLegalEntity
YesYesCompanyInfo.DataAreaTrvExpTable.InterCompanyLE
InvoiceInvoice ID of the expense.String (20)
TrvExpInvoiceId
NoYesTrvExpTable.InvoiceId
PaymentDateDate of the payment.Date
TrvDateStd
NoYesTrvExpTable.PaymentDate
PaymentVoucherVoucher that identifies the payment.String (200)
PaymId
NoYesTrvExpTable.PaymentVoucher
PreApprovalNumberNumber of the pre-approval for the expense.String (20)
TrvPreApprovalNumber
NoYesTrvExpTable.PreApprovalNumber
PostedDateDate the report was posted.Date
TrvDateStd
NoYesTrvExpTable.PostedDate
CompanyCompany the report belongs to.String
DataAreaId
NoYesCompanyInfo.DataAreaTrvExpTable.ReferenceDataAreaId
SourceDocumentHeaderRecord ID of the linked source document header.Int64
RefRecId
NoNo (private)SourceDocumentHeader.RecIdTrvExpTable.SourceDocumentHeader
SourceDocumentLineRecord ID of the linked source document line.Int64
RefRecId
NoNo (private)SourceDocumentLine.RecIdTrvExpTable.SourceDocumentLine
DescriptionDescription of the report.String (1000)
ItemFreeTxt
NoYesTrvExpTable.Txt1
PurposePurpose of the report, taken from the list of expense purposes.String (60)
TrvTravelTxtEDT
NoYesTrvTravelTxt.TxtTrvExpTable.Txt2
VendorAccountVendor account linked to the report.String (20)
VendAccount
NoYesVendTable.AccountNumTrvExpTable.VendAccount
LegalEntity_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
DataAreaCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
TrvHcmWorker_PersonPoints to the person record that holds the worker's name.Int64
DirPartyRecId
YesNo (private)DirPerson.RecIdHcmWorker.Person
EmployeePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
DirPerson_FK_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
CreatingWorkerEmployee who created the report.Int64
TrvHcmWorkerRecId
YesYesHcmWorker.RecIdTrvExpTable.CreatingWorker
CreatedDateThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesTrvExpTable.CreatedDateTime
TitlePurpose of the report, taken from the list of expense purposes.String (60)
TrvTravelTxtEDT
NoYesTrvTravelTxt.TxtTrvExpTable.Txt2
AmountTotalTotal amount of the expense report, in the company currency.Real
AmountMST
NoYesvirtual
PolicyViolationsLevelNumber showing how serious the policy violations on the report are.low confidenceInt64NoYesvirtual
PolicyViolationCountNumber of policy violations found on the report.IntegerNoYesvirtual

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.

Need help with TrvExpTableMobileEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk