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· rootTrvExpTable· InnerJoin toWorkflowWorkItemTableProjTable· OuterJoin toTrvExpTableTrvPolicyViolationJustification· OuterJoin toTrvExpTable
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CreatingUserUser who created the expense report. | String (1000) | No | Yes | virtual | |
AttachedExpenseCountNumber of expenses attached to the report. | Integer | No | Yes | virtual | |
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 | |
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 |
DefaultDimensionDefault financial dimension values for the report. | Int64LedgerDefaultDimensionValueSet | No | Yes | DimensionAttributeValueSet.RecId | TrvExpTable.DefaultDimension |
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 |
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 | |
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 |
ProjectNameName of the project. | String (60)ProjName | No | Yes | ProjTable.Name | |
ProjIdProject linked to the report. | String (20)ProjId | No | Yes | ProjTable.ProjId | TrvExpTable.ProjId |
ProjTable_FK_ProjIdUnique code that identifies the project. | String (20)ProjId | Yes | No (private) | ProjTable.ProjId | |
ProjTable_FK_DataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | No (private) | ProjTable.DataAreaId | |
ActionAction linked to the work item. The metadata does not list the possible values.low confidence | String | No | Yes | virtual | |
WorkflowCommentComment entered on the work item. | String (1000) | No | Yes | virtual | |
DelegateUserIdID of the user the work item is delegated to. | String | No | Yes | virtual | |
AmountCurrencyCurrency code of the report amount. | String | No | Yes | virtual | |
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | WorkflowWorkItemTable.RecId | |
AssignedToThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
IsExpenseReportYes or no flag showing whether the record is an expense report. | EnumNoYesId
| No | Yes | virtual | |
RefTableIdID of the table of the document the work item refers to. | IntegerRefTableId | Yes | No (private) | WorkflowWorkItemTable.RefTableId | |
ApproverJustificationJustification text given by the approver. | String | No | Yes | virtual | |
TotalAmountTotal amount of the expense report. The currency is not stated in the metadata.low confidence | Real | No | Yes | virtual | |
CorrelationIdIdentifier that links the work item to its workflow tracking status. | GuidWorkflowCorrelationId | No | Yes | WorkflowTrackingStatusTable.CorrelationId | WorkflowWorkItemTable.CorrelationId |
WorkflowRefTableNameName of the table that the work item refers to.low confidence | String (20) | No | Yes | computed | |
ExpTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | TrvExpTable.RecId | |
CreatedDateThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | TrvExpTable.CreatedDateTime | |
ReportSubmitterJustificationText the employee gives to explain the violation. | String (1000)TrvSubmitterJustification | No | Yes | TrvPolicyViolationJustification.Justification | |
IsApproverJustificationRequiredWhole number showing whether an approver justification is required. The meaning of each value is not stated in the metadata.low confidence | 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.
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
DefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many TrvExpTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
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
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
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
CorrelationId→WorkflowTrackingStatusTable.CorrelationId(key of WorkflowTrackingStatusTable)Many WorkflowWorkItemTable records → zero or one WorkflowTrackingStatusTable record
WorkflowTrackingStatusTable details: see WorkflowApprovalHistoryEntity
Need help with TrvExpMobileReportApprovalEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.