Table
MainDataChangeSetup
Holds the master data change framework settings for one table, identified by HeadingTableId. It has switches for approval on creation, approval on modification and change history. It also stores how data entities should behave when they change data.
- Table name
MainDataChangeSetup- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
ApplicationCommon
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DataEntityBehaviorSets how data entities treat changes: allow them without approval, create a change proposal, or reject them. | EnumMainDataChangeDataEntityBehavior (enum) | No | None | |
HeadingTableIdNumeric ID of the table that these settings apply to. It matches a row in MainDataChangeSetupMetadataHeadingTable. | IntegerRefTableId | Yes | MainDataChangeSetupMetadataHeadingTable.HeadingTableId | None |
IsApprovalOnCreationEnabledYes/No switch that shows whether approval is turned on when records are created. | EnumNoYes (enum) | No | None | |
IsApprovalOnModificationEnabledYes/No switch that shows whether approval is turned on when records are modified. | EnumNoYes (enum) | No | None | |
IsChangeHistoryEnabledYes/No switch that shows whether change history is turned on. | EnumNoYes (enum) | No | None | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
HeadingTableIdxUnique, alternate key.
Relations (1)
Each relation joins MainDataChangeSetup to another table on the fields shown.
MainDataChangeSetupMetadataHeadingTable→MainDataChangeSetupMetadataHeadingTableJoin on
HeadingTableId = MainDataChangeSetupMetadataHeadingTable.HeadingTableIdZero or one MainDataChangeSetup record → exactly one MainDataChangeSetupMetadataHeadingTable record
Get this data out
No public entity reads from MainDataChangeSetup. Its data is only reachable through the application, a custom entity or a database export.
Need help with MainDataChangeSetup in a report, an integration or a migration? Talk to Dr Dynamics.