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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LegalEntityPoints to the company the setting applies to.Int64
RefRecId
YesCompanyInfo.RecIdExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
RefTableIdID of the table that the field belongs to.Integer
RefTableId
NoExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
RefFieldIdNameName of the expense field.String
IdentifierName
NoExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
AreaTypeArea of expense the field belongs to, such as expense report, expense or hotel category.Enum
ExpenseAreaType (enum)
NoNone
FieldLabelLabel shown for the field.String (100)NoNone
IsClosedForConfigurationYes/No flag showing that the field cannot be configured.Enum
NoYesId
NoYes (enum)
NoNone
IsMobileAppApplicableYes/No flag showing whether the field is supported in the mobile app.Enum
NoYesId
NoYes (enum)
NoTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
MobileAppVisibilityTypeVisibility of the field in the mobile app: do not display, display or mandatory.Enum
ExpenseFieldVisibilityTypeV2 (enum)
NoTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VisibilityGroupGroup the field belongs to, such as common, hotel, tax, per diem or travel requisition.Enum
ExpenseVisibilityGroup (enum)
NoExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
VisibilityTypeEarlier setting for the field: optional, required, recommended or do not display.Enum
ExpenseFieldVisibilityType (enum)
NoExpenseFieldsVisibilityEntityTrvExpMobileExpenseFieldVisibilityEntityTrvExpMobileExpenseReportFieldVisibilityEntity
VisibilityTypeV2Visibility of the field: do not display, display or mandatory.Enum
ExpenseFieldVisibilityTypeV2 (enum)
NoNone

Indexes (2)

Relations (1)

Each relation joins ExpenseFieldsVisibility to another table on the fields shown.

  • CompanyInfo → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many 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.

Need help with ExpenseFieldsVisibility in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk