Table
SysDataSharingTableField
Draft sharing field
Holds draft sharing settings for each field of a table in a data sharing rule. It is identified by the rule and the field name. It links to the data sharing policy and the data sharing rule.
- Table name
SysDataSharingTableField- Module
System administration- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
FieldIdx- Key fields
DataSharingRule, FieldName- Model
DataSharing
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataSharingRulePoints to the draft data sharing rule that the field setting belongs to. | Int64SysDataSharingRuleRecId | Yes | SysDataSharingRule.RecId | None |
FieldNameName of the field that the sharing setting applies to. | StringFieldName | Yes | None | |
ArraySizeArray index of the field, for fields that are arrays. | IntegerArrayIdx | No | None | |
DatabaseFieldNameName of the field in the database. | StringFieldName | Yes | None | |
DataSharingPolicyPoints to the data sharing policy that the field setting belongs to. | Int64SysDataSharingPolicyRecId | Yes | SysDataSharingPolicy.RecId | None |
ExtendedDataTypeIdNumeric ID of the extended data type of the field. | IntegerExtendedTypeId | No | None | |
IsForeignKeyShows whether the field is a foreign key. | EnumNoYes (enum) | No | None | |
IsMandatoryShows whether the field must have a value. | EnumNoYes (enum) | No | None | |
IsOverrideAllowedShows whether the shared value can be overridden. | EnumNoYes (enum) | No | None | |
IsSharedShows whether the field is shared (Yes or No). | EnumNoYes (enum) | No | None | |
IsSurrogateForeignKeyShows whether the field is a surrogate foreign key. | 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 | |
SharingTypeKind of sharing that applies to the field. | EnumSysSharingType (enum) | No | None | |
SharingTypeDescriptionText that describes the sharing type. | StringSysSharingTypeDescription | No | None | |
SurrogateForeignKeyedTableNameName of the table that the surrogate foreign key points to. | StringTableName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TableNameName of the table that holds the field. | StringTableName | Yes | None |
Indexes (2)
FieldIdxReplacement keyUnique, alternate key.
TableFieldNameIdxDataSharingPolicy,TableName,FieldNameUnique.
Relations (2)
Each relation joins SysDataSharingTableField to another table on the fields shown.
SysDataSharingPolicy→SysDataSharingPolicyJoin on
DataSharingPolicy = SysDataSharingPolicy.RecIdMany SysDataSharingTableField records → exactly one SysDataSharingPolicy record
SysDataSharingRule→SysDataSharingRuleJoin on
DataSharingRule = SysDataSharingRule.RecIdMany SysDataSharingTableField records → exactly one SysDataSharingRule record
Get this data out
No public entity reads from SysDataSharingTableField. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysDataSharingTableField in a report, an integration or a migration? Talk to Dr Dynamics.