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 descriptionType / EDT / enumMandatoryReferencesIn public entities
InstanceRelationTypeWhole number describing the type of link. The metadata gives no label or meaning.low confidenceInt64NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrimaryEntityTypeKind of the first linked item: activity, case or transaction.Enum
CustCollectionsEntityType (enum)
NoNone
PrimaryRecIdSystem record ID of the first linked item, which can be a case or an activity.Int64
RefRecId
YesCaseDetailBase.RecIdsmmActivities.RecIdNone
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
RefEntityTypeKind of the second linked item: activity, case or transaction.Enum
CustCollectionsEntityType (enum)
NoNone
RefRecIdSystem record ID of the second linked item, which can be a customer transaction or an activity.Int64
RefRecId
YesCustTrans.RecIdsmmActivities.RecIdNone
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 (1)

Relations (4)

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

  • CustTrans → CustTrans

    Join on RefEntityType = CustCollectionsEntityType::Transactions, RefRecId = CustTrans.RecId

    Many CustCollectionsLinkTable records → zero or one CustTrans record

  • CaseDetailBase → CaseDetailBase

    Join on PrimaryEntityType = CustCollectionsEntityType::Cases, PrimaryRecId = CaseDetailBase.RecId

    Many CustCollectionsLinkTable records → zero or one CaseDetailBase record

  • smmActivitiesToCases → smmActivities

    Join on RefEntityType = CustCollectionsEntityType::Activities, RefRecId = smmActivities.RecId

    Many CustCollectionsLinkTable records → zero or one smmActivities record

  • smmActivitiesToTransactions → smmActivities

    Join on PrimaryEntityType = CustCollectionsEntityType::Activities, PrimaryRecId = smmActivities.RecId

    Many 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.

Email sales@drdynamics.co.uk