Data entity
TrvExpMobilePerDiemDataEntity
Per diem lines for expense lines, for the expense mobile app. It is keyed by record ID. Each record has the day, transaction date, meal reduction amounts for breakfast, lunch and dinner, and meals and incidentals. It links to an expense line and an employee.
- Entity name
TrvExpMobilePerDiemDataEntity- Public entity name
ExpMobilePerDiemData- OData collection
ExpMobilePerDiemDatas- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
TrvPerDiem- Keys
EntRecId- Staging table
TrvExpMobilePerDiemDataStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpMobilePerDiemDatas- Dataverse virtual table
mserp_trvexpmobileperdiemdataentity. 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
TrvExpPerdiemData· rootTrvExpTrans· InnerJoin toTrvExpPerdiemData
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
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 |
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 | |
NumberOfHrsDayPercentage value for the day, stored as a positive number.low confidence | RealTrvRealBasePositive | No | Yes | TrvExpPerdiemData.NumberOfHrsDay | |
NumberOfLunchNumber of lunches counted. | IntegerInteger | No | Yes | TrvExpPerdiemData.NumberOfLunch | |
TrvExpTransRecord ID of the linked expense line. | Int64RefRecId | No | Yes | TrvExpTrans.RecId | TrvExpPerdiemData.TrvExpTrans |
TransDateDate of the transaction. | DateTrvDateStd | Yes | Yes | TrvExpPerdiemData.TransDate | |
TypeOfDateType of day: first, last, both or middle. | Enum
| No | Yes | TrvExpPerdiemData.TypeOfDate | |
EntRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | TrvExpPerdiemData.RecId | |
ExpTransNumberNumber that identifies the expense line. | String (20)TrvExpTransNumber | No | Yes | TrvExpTrans.ExpTransNumber | |
CreatingWorkerEmployee who created the line. | Int64TrvHcmWorkerRecId | Yes | Yes | HcmWorker.RecId | TrvExpTrans.CreatingWorker |
Foreign keys (4)
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.
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
TrvExpTrans→TrvExpTrans.RecId(key of TrvExpTrans)Many TrvExpPerdiemData records → exactly one TrvExpTrans record
TrvExpTrans details: see TrvCopilotAutomationExpenseEntity, TrvExpMobileExpenseEntity, TrvExpMobileExpenseLineAttachedToReportEntity
CreatingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvExpTrans records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with TrvExpMobilePerDiemDataEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.