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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RelatedTableNameName of the table on the other side of the relation. | StringIdentifierName | No | None | |
RelationNameName of the relation. | StringRelationName | No | None | |
RelationOriginSource of the relation: type, relation or conditional relation. | EnumSysRelationOrigin (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TableNameName of the table that holds the relation. | StringIdentifierName | Yes | None | |
TableRelationTypeKind of relation, such as one and only one, zero or one, or one or many. | EnumSysRelationType (enum) | No | None | |
validateFlag called Validate. Its exact meaning is not stated in the metadata.low confidence | Enumboolean (enum) | No | None |
Indexes (3)
TableTableName,RelatedTableName,RelationNameNot unique.
RelatedTableRelatedTableName,TableName,RelationNameNot unique.
RecIdIdxPrimary indexUnique.
Relations (1)
Each relation joins xRefTableRelation to another table on the fields shown.
Relation→xRefTableRelationJoin on
RelatedTableName = xRefTableRelation.TableNameMany 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.