Data entity
ExpenseFieldsVisibilityEntity
Settings that control whether given fields are visible in the re-imagined expense reports. Each row is set per company, table name and field name, and holds an area and a visibility type.
- Entity name
ExpenseFieldsVisibilityEntity- Public entity name
ExpenseFieldsVisibility- OData collection
ExpenseFieldsVisibilities- Category
Parameters- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
LegalEntityId, TableName, FieldName- Staging table
ExpenseFieldsVisibilityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpenseFieldsVisibilities- Dataverse virtual table
mserp_expensefieldsvisibilityentity. 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
ExpenseFieldsVisibility· rootCompanyInfo· InnerJoin toExpenseFieldsVisibility· read-only
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AreaGroup the field belongs to, such as common, hotel, tax, per diem or travel requisition. | Enum
| No | Yes | ExpenseFieldsVisibility.VisibilityGroup | |
VisibilityTypeEarlier setting for the field: optional, required, recommended or do not display. | Enum
| No | Yes | ExpenseFieldsVisibility.VisibilityType | |
LegalEntityPoints to the company the setting applies to. | Int64RefRecId | Yes | No (private) | CompanyInfo.RecId | ExpenseFieldsVisibility.LegalEntity |
ExpenseFieldNameName of the expense field. | StringIdentifierName | No | No (private) | ExpenseFieldsVisibility.RefFieldIdName | |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
ReferenceTableIDID of the table that the field belongs to. | IntegerRefTableId | No | No (private) | ExpenseFieldsVisibility.RefTableId | |
TableNameName of the table that holds the field whose visibility is set. | StringTableName | No | Yes | computed | |
FieldNameName of the field whose visibility is set. | StringFieldName | 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 ExpenseFieldsVisibility records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with ExpenseFieldsVisibilityEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.