Table

SysDataSharingRule

Data sharing rules

Holds the draft sharing rules of a data sharing policy. Each row is identified by the policy and the table to be shared.

Table name
SysDataSharingRule
Module
System administration
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
SharingIdx
Key fields
DataSharingPolicy, SharedTableName
Model
DataSharing

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataSharingPolicyPoints to the data sharing policy that owns the rule.Int64
SysDataSharingPolicyRecId
YesSysDataSharingPolicy.RecIdNone
SharedTableNameName of the table in the draft sharing rule.String
IdentifierName
YesNone
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

Indexes (1)

Relations (1)

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

  • DataSharingGroup → SysDataSharingPolicy

    Join on DataSharingPolicy = SysDataSharingPolicy.RecId

    Many SysDataSharingRule records → exactly one SysDataSharingPolicy record

Get this data out

No public entity reads from SysDataSharingRule. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk