Data entity
TrvExpMobileExpenseFieldVisibilityEntity
Holds settings for which expense fields are visible in the expense mobile app. It is built on the expense fields visibility table and joins legal entities. Each record is for one company, table and expense field. The key is the legal entity ID, reference table ID and expense field name.
- Entity name
TrvExpMobileExpenseFieldVisibilityEntity- Public entity name
ExpMobileExpenseFieldVisibility- OData collection
ExpMobileExpenseFieldVisibilities- Category
Parameters- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
LegalEntityId, ReferenceTableID, ExpenseFieldName- Staging table
TrvExpMobileExpenseFieldVisibilityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpMobileExpenseFieldVisibilities- Dataverse virtual table
mserp_trvexpmobileexpensefieldvisibilityentity. 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 (11)
| 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 | Yes | ExpenseFieldsVisibility.RefFieldIdName | |
ReferenceTableIDID of the table that the field belongs to. | IntegerRefTableId | No | Yes | ExpenseFieldsVisibility.RefTableId | |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
FieldNameName of the field the setting applies to. | StringFieldName | No | Yes | computed | |
LabelNameLabel text of the field. | String (1999)LabelString | No | Yes | virtual | |
LocalisedLabelNameLabel of the field in the user's language. | String | No | Yes | virtual | |
IsMobileAppApplicableYes/No flag showing whether the field is supported in the mobile app. | EnumNoYesId
| No | Yes | ExpenseFieldsVisibility.IsMobileAppApplicable | |
MobileAppVisibilityTypeVisibility of the field in the mobile app: do not display, display or mandatory. | Enum
| No | Yes | ExpenseFieldsVisibility.MobileAppVisibilityType |
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 TrvExpMobileExpenseFieldVisibilityEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.