Table

xRefTableRelation

Table relations

Holds relations between tables, as recorded in the cross-reference data. Each row names a table, a related table, the relation name and the relation type, such as one and only one or zero or one. It also records where the relation comes from.

Table name
xRefTableRelation
Module
System administration
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecIdIdx
Replacement key
None
Key fields
RecId
Model
ApplicationFoundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RelatedTableNameName of the table on the other side of the relation.String
IdentifierName
NoNone
RelationNameName of the relation.String
RelationName
NoNone
RelationOriginSource of the relation: type, relation or conditional relation.Enum
SysRelationOrigin (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TableNameName of the table that holds the relation.String
IdentifierName
YesNone
TableRelationTypeKind of relation, such as one and only one, zero or one, or one or many.Enum
SysRelationType (enum)
NoNone
validateFlag called Validate. Its exact meaning is not stated in the metadata.low confidenceEnum
boolean (enum)
NoNone

Indexes (3)

Relations (1)

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

  • Relation → xRefTableRelation

    Join on RelatedTableName = xRefTableRelation.TableName

    Many xRefTableRelation records → zero or one xRefTableRelation record

Get this data out

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

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

Email sales@drdynamics.co.uk