Table
ExpenseFieldsVisibility
Expense fields visibility (Expense reports re-imagined)
Holds settings that control how expense fields are shown for each company. The key is the company, the table ID and the field name. It covers visibility in the main app and in the mobile app.
- Table name
ExpenseFieldsVisibility- Module
Project- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Trv- Primary index
None- Replacement key
ExpenseFieldsVisibilityIdx- Key fields
LegalEntity, RefTableId, RefFieldIdName- Model
ExpenseManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LegalEntityPoints to the company the setting applies to. | Int64RefRecId | Yes | CompanyInfo.RecId | ExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity |
RefTableIdID of the table that the field belongs to. | IntegerRefTableId | No | ExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
RefFieldIdNameName of the expense field. | StringIdentifierName | No | ExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
AreaTypeArea of expense the field belongs to, such as expense report, expense or hotel category. | EnumExpenseAreaType (enum) | No | None | |
FieldLabelLabel shown for the field. | String (100) | No | None | |
IsClosedForConfigurationYes/No flag showing that the field cannot be configured. | EnumNoYesIdNoYes (enum) | No | None | |
IsMobileAppApplicableYes/No flag showing whether the field is supported in the mobile app. | EnumNoYesIdNoYes (enum) | No | TrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
MobileAppVisibilityTypeVisibility of the field in the mobile app: do not display, display or mandatory. | EnumExpenseFieldVisibilityTypeV2 (enum) | No | TrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VisibilityGroupGroup the field belongs to, such as common, hotel, tax, per diem or travel requisition. | EnumExpenseVisibilityGroup (enum) | No | ExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
VisibilityTypeEarlier setting for the field: optional, required, recommended or do not display. | EnumExpenseFieldVisibilityType (enum) | No | ExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity | |
VisibilityTypeV2Visibility of the field: do not display, display or mandatory. | EnumExpenseFieldVisibilityTypeV2 (enum) | No | None |
Indexes (2)
ExpenseFieldsVisibilityIdxReplacement keyLegalEntity,RefTableId,RefFieldIdNameUnique, alternate key.
VisibilityFieldIdxNot unique.
Relations (1)
Each relation joins ExpenseFieldsVisibility to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany ExpenseFieldsVisibility records → exactly one CompanyInfo record
Get this data out
Tables are not exposed directly. These public entities read from ExpenseFieldsVisibility; use one of them in Power BI, Power Platform or a data management project.
ExpenseFieldsVisibilityEntity· 5 fields from this tableTrvExpMobileExpenseFieldVisibilityEntity· 7 fields from this tableTrvExpMobileExpenseReportFieldVisibilityEntity· 7 fields from this table
Need help with ExpenseFieldsVisibility in a report, an integration or a migration? Talk to Dr Dynamics.