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 · root
  • CompanyInfo · InnerJoin to ExpenseFieldsVisibility · read-only

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AreaGroup the field belongs to, such as common, hotel, tax, per diem or travel requisition.Enum
ExpenseVisibilityGroup
  • Common 0
  • Hotel 1
  • Entertainment 2
  • Tax 3
  • Allowance 4
  • Project 5
  • TravelRequisition 6
  • Receipt 7
  • Airline 8
  • Post 9
  • Advance 10
  • Itemization 11
  • CarRental 12
  • Gift 13
  • Meals 14
  • Conference 15
  • Transport 16
  • Personal 17
  • Intercompany 18
  • Dimension 19
NoYesExpenseFieldsVisibility.VisibilityGroup
VisibilityTypeEarlier setting for the field: optional, required, recommended or do not display.Enum
ExpenseFieldVisibilityType
  • Optional 0
  • Required 1
  • Recommended 2
  • DoNotDisplay 3
NoYesExpenseFieldsVisibility.VisibilityType
LegalEntityPoints to the company the setting applies to.Int64
RefRecId
YesNo (private)CompanyInfo.RecIdExpenseFieldsVisibility.LegalEntity
ExpenseFieldNameName of the expense field.String
IdentifierName
NoNo (private)ExpenseFieldsVisibility.RefFieldIdName
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
ReferenceTableIDID of the table that the field belongs to.Integer
RefTableId
NoNo (private)ExpenseFieldsVisibility.RefTableId
TableNameName of the table that holds the field whose visibility is set.String
TableName
NoYescomputed
FieldNameName of the field whose visibility is set.String
FieldName
NoYescomputed

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.

Need help with ExpenseFieldsVisibilityEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk