Data entity
TrvExpenseReportFieldEntity
Display field settings for expense reports. Each row is set per company, table name, field name and method name. It holds visibility and a setting for showing the field in the form.
- Entity name
TrvExpenseReportFieldEntity- Public entity name
ExpenseReportField- OData collection
ExpenseReportFields- Category
Not set- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
LegalEntityId, TableName, FieldName, MethodName- Staging table
TrvExpenseReportFieldStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpenseReportFields- Dataverse virtual table
mserp_trvexpensereportfieldentity. 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
TrvAdminCustomFields· rootCompanyInfo· OuterJoin toTrvAdminCustomFields· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LegalEntityPoints to the company (legal entity) the setting applies to. | Int64RefRecId | Yes | No (private) | CompanyInfo.RecId | TrvAdminCustomFields.LegalEntity |
MethodNameName of the method behind the displayed value. | StringIdentifierName | No | Yes | TrvAdminCustomFields.MethodName | |
RefFieldIdNumeric ID of the field the setting refers to. | IntegerRefFieldId | No | No (private) | TrvAdminCustomFields.RefFieldId | |
RefTableIdNumeric ID of the table the setting refers to. | IntegerRefTableId | No | No (private) | TrvAdminCustomFields.RefTableId | |
ShowInFormYes/No marker for showing the field in the form. No label is given.low confidence | Enum
| No | Yes | TrvAdminCustomFields.ShowInForm | |
VisibilityHow the field appears: not displayed, displayed or read-only. | Enum
| No | Yes | TrvAdminCustomFields.Visibility | |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
TableNameName of the table that holds the display field. | String (81)TableName | No | Yes | computed | |
FieldNameName of the field whose display is set. | String (40)FieldName | No | Yes | computed |
Foreign keys (1)
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.
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many TrvAdminCustomFields records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with TrvExpenseReportFieldEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.