Table
CustCollectionsLinkTable
Collections link table
A general link table for collections. Each record joins two items, and each item can be an activity, a case or a customer transaction. The entity type fields tell which kind each side is.
- Table name
CustCollectionsLinkTable- Module
Accounts receivable- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InstanceRelationTypeWhole number describing the type of link. The metadata gives no label or meaning.low confidence | Int64 | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrimaryEntityTypeKind of the first linked item: activity, case or transaction. | EnumCustCollectionsEntityType (enum) | No | None | |
PrimaryRecIdSystem record ID of the first linked item, which can be a case or an activity. | Int64RefRecId | Yes | CaseDetailBase.RecIdsmmActivities.RecId | 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 | |
RefEntityTypeKind of the second linked item: activity, case or transaction. | EnumCustCollectionsEntityType (enum) | No | None | |
RefRecIdSystem record ID of the second linked item, which can be a customer transaction or an activity. | Int64RefRecId | Yes | CustTrans.RecIdsmmActivities.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LinkIndexUnique.
Relations (4)
Each relation joins CustCollectionsLinkTable to another table on the fields shown.
CustTrans→CustTransJoin on
RefEntityType = CustCollectionsEntityType::Transactions,RefRecId = CustTrans.RecIdMany CustCollectionsLinkTable records → zero or one CustTrans record
CaseDetailBase→CaseDetailBaseJoin on
PrimaryEntityType = CustCollectionsEntityType::Cases,PrimaryRecId = CaseDetailBase.RecIdMany CustCollectionsLinkTable records → zero or one CaseDetailBase record
smmActivitiesToCases→smmActivitiesJoin on
RefEntityType = CustCollectionsEntityType::Activities,RefRecId = smmActivities.RecIdMany CustCollectionsLinkTable records → zero or one smmActivities record
smmActivitiesToTransactions→smmActivitiesJoin on
PrimaryEntityType = CustCollectionsEntityType::Activities,PrimaryRecId = smmActivities.RecIdMany CustCollectionsLinkTable records → zero or one smmActivities record
Get this data out
No public entity reads from CustCollectionsLinkTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustCollectionsLinkTable in a report, an integration or a migration? Talk to Dr Dynamics.