Data entity
TrvExpMobilePerDiemDataForReportApprovalEntity
Per diem data for expense lines that belong to expense reports in work items waiting for report approval. It joins work items to expense reports, expense lines and meal reductions. The key is the work item record ID.
- Entity name
TrvExpMobilePerDiemDataForReportApprovalEntity- Public entity name
ExpMobilePerDiemDataForReportApproval- OData collection
ExpMobilePerDiemDataForReportApprovals- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
WorkflowItemRecId- Staging table
TrvExpMobilePerDiemDataForReportApprovalStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpMobilePerDiemDataForReportApprovals- Dataverse virtual table
mserp_trvexpmobileperdiemdataforreportapprovalentity. 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 toWorkflowWorkItemTableTrvExpTrans· InnerJoin toTrvExpTableTrvExpPerdiemData· InnerJoin toTrvExpTrans
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
MealDeductionAmount deducted for meals. | RealTrvTransactionCurrencyAmount | No | Yes | TrvExpPerdiemData.MealDeduction | |
MealsandIncidentalsMSTAmount for meals and incidentals in the company currency. | RealAmountMST | No | Yes | TrvExpPerdiemData.MealsandIncidentalsMST | |
NumberOfBreakfastNumber of breakfasts counted. | IntegerInteger | No | Yes | TrvExpPerdiemData.NumberOfBreakfast | |
NumberOfDinnerNumber of dinners counted. | IntegerInteger | No | Yes | TrvExpPerdiemData.NumberOfDinner | |
NumberOfLunchNumber of lunches counted. | IntegerInteger | No | Yes | TrvExpPerdiemData.NumberOfLunch | |
TrvExpTransRecord ID of the linked expense line. | Int64RefRecId | No | Yes | TrvExpTrans.RecId | TrvExpPerdiemData.TrvExpTrans |
AssignedToThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
WorkflowItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | WorkflowWorkItemTable.RecId | |
ExpTransNumberNumber that identifies the expense line. | String (20)TrvExpTransNumber | No | Yes | TrvExpTrans.ExpTransNumber | |
ReferenceDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | TrvExpPerdiemData.DataAreaId | |
ExchangeCodeCurrency of the meal reduction amount. | String (3)TrvCurrencyCode | No | Yes | Currency.CurrencyCode | TrvExpPerdiemData.ExchangeCode |
LegalEntityLegal entity the record belongs to. | Int64LegalEntity | No | Yes | CompanyInfo.RecId | TrvExpPerdiemData.LegalEntity |
TransDateDate of the transaction. | DateTrvDateStd | Yes | Yes | TrvExpPerdiemData.TransDate | |
WorkflowRefTableNameName of the table that the work item refers to. The metadata gives no further detail.low confidence | String (20) | No | Yes | computed |
Foreign keys (3)
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.
TrvExpTrans→TrvExpTrans.RecId(key of TrvExpTrans)Many TrvExpPerdiemData records → exactly one TrvExpTrans record
TrvExpTrans details: see TrvCopilotAutomationExpenseEntity, TrvExpMobileExpenseEntity, TrvExpMobileExpenseLineAttachedToReportEntity
ExchangeCode→Currency.CurrencyCode(key of Currency)Many TrvExpPerdiemData records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many TrvExpPerdiemData records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with TrvExpMobilePerDiemDataForReportApprovalEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.