Data entity

TrvExpMobileReportApprovalEntity

Submitted expense reports that are waiting for approval in the expense mobile app. It joins work items with expense reports, projects and policy violation justifications. The key combines the expense report number, the company of the referenced record and the work item record ID.

Entity name
TrvExpMobileReportApprovalEntity
Public entity name
ExpMobileReportApproval
OData collection
ExpMobileReportApprovals
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Trv
Keys
ExpNumber, ReferenceDataAreaId, WorkItemRecId
Staging table
TrvExpMobileReportApprovalStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ExpMobileReportApprovals
Dataverse virtual table
mserp_trvexpmobilereportapprovalentity. 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

  • WorkflowWorkItemTable · root
  • TrvExpTable · InnerJoin to WorkflowWorkItemTable
  • ProjTable · OuterJoin to TrvExpTable
  • TrvPolicyViolationJustification · OuterJoin to TrvExpTable

Fields (45)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CreatingUserUser who created the expense report.String (1000)NoYesvirtual
AttachedExpenseCountNumber of expenses attached to the report.IntegerNoYesvirtual
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
YesYesHcmWorker.RecIdTrvExpTable.CreatingWorker
CustAccountCustomer account linked to the report.String (20)
CustAccount
NoYesCustTable.AccountNumTrvExpTable.CustAccount
DefaultDimensionDefault financial dimension values for the report.Int64
LedgerDefaultDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdTrvExpTable.DefaultDimension
DestinationTravel location linked to the report.String (255)
TrvDestination
NoYesTrvDestinations.DestinationTrvExpTable.Destination
ExpNumberNumber that identifies the expense report.String (20)
TrvExpNumber
YesYesTrvExpTable.ExpNumber
FinalApproverWorker who gave the final approval.Int64
HcmWorkerRecId
NoYesHcmWorker.RecIdTrvExpTable.FinalApprover
InterCompanyLELegal entity for which the expenses are reported.String
TrvLegalEntity
YesYesCompanyInfo.DataAreaTrvExpTable.InterCompanyLE
InvoiceIdInvoice ID of the expense.String (20)
TrvExpInvoiceId
NoYesTrvExpTable.InvoiceId
LegalEntityLegal entity the report belongs to.Int64
LegalEntity
NoYesCompanyInfo.RecIdTrvExpTable.LegalEntity
PaymentDateDate of the payment.Date
TrvDateStd
NoYesTrvExpTable.PaymentDate
PaymentVoucherVoucher that identifies the payment.String (200)
PaymId
NoYesTrvExpTable.PaymentVoucher
PostedDateDate the report was posted.Date
TrvDateStd
NoYesTrvExpTable.PostedDate
PreApprovalNumberNumber of the pre-approval for the expense.String (20)
TrvPreApprovalNumber
NoYesTrvExpTable.PreApprovalNumber
ProjStatusIdProject line property set on the report.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdTrvExpTable.ProjStatusId
ReferenceDataAreaIdCompany the report belongs to.String
DataAreaId
NoYesCompanyInfo.DataAreaTrvExpTable.ReferenceDataAreaId
SourceDocumentHeaderRecord ID of the linked source document header.Int64
RefRecId
NoYesSourceDocumentHeader.RecIdTrvExpTable.SourceDocumentHeader
SourceDocumentLineRecord ID of the linked source document line.Int64
RefRecId
NoYesSourceDocumentLine.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
ProjectNameName of the project.String (60)
ProjName
NoYesProjTable.Name
ProjIdProject linked to the report.String (20)
ProjId
NoYesProjTable.ProjIdTrvExpTable.ProjId
ProjTable_FK_ProjIdUnique code that identifies the project.String (20)
ProjId
YesNo (private)ProjTable.ProjId
ProjTable_FK_DataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoNo (private)ProjTable.DataAreaId
ActionAction linked to the work item. The metadata does not list the possible values.low confidenceStringNoYesvirtual
WorkflowCommentComment entered on the work item.String (1000)NoYesvirtual
DelegateUserIdID of the user the work item is delegated to.StringNoYesvirtual
AmountCurrencyCurrency code of the report amount.StringNoYesvirtual
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.RecId
AssignedToThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
IsExpenseReportYes or no flag showing whether the record is an expense report.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesvirtual
RefTableIdID of the table of the document the work item refers to.Integer
RefTableId
YesNo (private)WorkflowWorkItemTable.RefTableId
ApproverJustificationJustification text given by the approver.StringNoYesvirtual
TotalAmountTotal amount of the expense report. The currency is not stated in the metadata.low confidenceRealNoYesvirtual
CorrelationIdIdentifier that links the work item to its workflow tracking status.Guid
WorkflowCorrelationId
NoYesWorkflowTrackingStatusTable.CorrelationIdWorkflowWorkItemTable.CorrelationId
WorkflowRefTableNameName of the table that the work item refers to.low confidenceString (20)NoYescomputed
ExpTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesTrvExpTable.RecId
CreatedDateThe 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
IsApproverJustificationRequiredWhole number showing whether an approver justification is required. The meaning of each value is not stated in the metadata.low confidenceIntegerNoYesvirtual

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

Email sales@drdynamics.co.uk