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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DataEntityBehaviorSets how data entities treat changes: allow them without approval, create a change proposal, or reject them.Enum
MainDataChangeDataEntityBehavior (enum)
NoNone
HeadingTableIdNumeric ID of the table that these settings apply to. It matches a row in MainDataChangeSetupMetadataHeadingTable.Integer
RefTableId
YesMainDataChangeSetupMetadataHeadingTable.HeadingTableIdNone
IsApprovalOnCreationEnabledYes/No switch that shows whether approval is turned on when records are created.Enum
NoYes (enum)
NoNone
IsApprovalOnModificationEnabledYes/No switch that shows whether approval is turned on when records are modified.Enum
NoYes (enum)
NoNone
IsChangeHistoryEnabledYes/No switch that shows whether change history is turned on.Enum
NoYes (enum)
NoNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • MainDataChangeSetupMetadataHeadingTable → MainDataChangeSetupMetadataHeadingTable

    Join on HeadingTableId = MainDataChangeSetupMetadataHeadingTable.HeadingTableId

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

Email sales@drdynamics.co.uk