Data entity

TrvExpMobileReportEntity

Expense reports for the expense mobile app, keyed by expense report number and legal entity. It is based on the expense report table and adds worker and person details. It also has policy violation information and the report amount.

Entity name
TrvExpMobileReportEntity
Public entity name
ExpMobileReport
OData collection
ExpMobileReports
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Trv
Keys
ExpNumber, LegalEntity_DataArea
Staging table
TrvExpMobileReportStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ExpMobileReports
Dataverse virtual table
mserp_trvexpmobilereportentity. 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 · read-only
  • TrvHcmWorker (table HcmWorker) · InnerJoin to TrvExpTable · read-only
  • DirPerson_FK (table DirPerson) · InnerJoin to TrvHcmWorker · read-only
  • ReportSubmitterJustification (table TrvPolicyViolationJustification) · OuterJoin to TrvExpTable

Fields (41)

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
ApprovalStatusStatus 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
CreatingWorkerEmployee who created the report.Int64
TrvHcmWorkerRecId
NoYesHcmWorker.RecIdTrvExpTable.CreatingWorker
CustAccountCustomer account linked to the report.String (20)
CustAccount
NoYesCustTable.AccountNumTrvExpTable.CustAccount
DefaultDimensionDefault financial dimension values for the report.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdTrvExpTable.DefaultDimension
DestinationTravel location linked to the report.String (255)
TrvDestination
NoYesTrvDestinations.DestinationTrvExpTable.Destination
ExpNumberNumber that identifies the expense report.String (20)
TrvExpNumber
NoYesTrvExpTable.ExpNumber
FinalApproverWorker 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
InterCompanyLELegal entity for which the expenses are reported.String
TrvLegalEntity
YesYesCompanyInfo.DataAreaTrvExpTable.InterCompanyLE
InvoiceIdInvoice 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
ReferenceDataAreaIdCompany 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
Txt1Description of the report.String (1000)
ItemFreeTxt
NoYesTrvExpTable.Txt1
Txt2Purpose of the report, taken from the list of expense purposes.String (60)
TrvTravelTxtEDT
NoYesTrvTravelTxt.TxtTrvExpTable.Txt2
VendAccountVendor 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
LegalEntity_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
TrvHcmWorker_PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
AmountTotalTotal amount of the expense report.RealNoYesvirtual
PolicyViolationsLevelNumber showing how serious the policy violations on the report are.low confidenceInt64NoYesvirtual
PolicyViolationCountNumber of policy violations found on the report.IntegerNoYesvirtual
ExpTransNumberExpense transaction number of a line linked to the report.low confidenceString (1000)NoYesvirtual
WorkflowActionText naming a workflow action for the report.low confidenceString (20)NoYesvirtual
PolicyViolationMessageText of the policy violation message shown for the report.String (1000)NoYesvirtual
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
DocumentCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesTrvExpTable.CreatedDateTime
DirPerson_FK_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
ProjIdProject linked to the report.String (20)
ProjId
NoYesProjTable.ProjIdTrvExpTable.ProjId
ProjStatusIdProject line property set on the report.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdTrvExpTable.ProjStatusId
ReportCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesTrvExpTable.CreatedDateTime
ReportSubmitterJustificationText the employee gives to explain the violation.String (1000)
TrvSubmitterJustification
NoYesTrvPolicyViolationJustification.Justification
IsReportSubmitterJustificationRequiredShows whether the report submitter must give a justification. Stored as a number.IntegerNoYesvirtual
GeneratedBySource that created the report: a user, the Expense Agent or a mobile user.Enum
TrvExpGeneratedBy
  • User 0
  • CopilotAutomation 1
  • MobileApp 2
NoYesTrvExpTable.TrvExpGeneratedBy

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 TrvExpMobileReportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk