Table

CLMIntegrationContractDocumentRelationship

Contract documents

Connects a contract to a document record, such as a purchase agreement. The document is found by table ID, record ID and company. It has no key of its own.

Table name
CLMIntegrationContractDocumentRelationship
Module
Cross-module and platform
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
CLMIntegration
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContractContract that the document belongs to.Int64
CLMIntegrationContractTableRefRecId
YesCLMIntegrationContractTable.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DocumentDataAreaIdCompany of the linked document.String
DataAreaId
YesNone
DocumentRefRecIdRecord ID of the linked document.Int64
RefRecId
YesNone
DocumentTableIdIdentifier of the table holding the linked document.Integer
RefTableId
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
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 (2)

Relations (3)

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

  • CLMIntegrationContractTable → CLMIntegrationContractTable

    Join on Contract = CLMIntegrationContractTable.RecId

    Many CLMIntegrationContractDocumentRelationship records → exactly one CLMIntegrationContractTable record

  • PurchAgreementHeader → PurchAgreementHeader

    Join on DocumentTableId = PurchAgreementHeader.TableId, DocumentRefRecId = PurchAgreementHeader.RecId

    Zero or one CLMIntegrationContractDocumentRelationship record → zero or one PurchAgreementHeader record

  • PurchTable → PurchTable

    Join on DocumentTableId = PurchTable.TableId, DocumentRefRecId = PurchTable.RecId, DocumentDataAreaId = PurchTable.DataAreaId

    Zero or one CLMIntegrationContractDocumentRelationship record → zero or one PurchTable record

Get this data out

Tables are not exposed directly. These public entities read from CLMIntegrationContractDocumentRelationship; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk