Table

CAMDataSourceDocumentLineRelation

Source document line relation

Links one source document line to another related line. The key is the pair of lines. It also records the source document involved.

Table name
CAMDataSourceDocumentLineRelation
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
CAMCostAccounting
Primary index
SourceRelatedLines
Replacement key
None
Key fields
SourceDocumentLine, RelatedSourceDocumentLine
Model
CostAccounting

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceDocumentLinePoints to the first source document line in the relation.Int64
CAMSourceDocumentLineRecId
YesCAMDataSourceDocumentLine.RecIdNone
RelatedSourceDocumentLinePoints to the second source document line that it is related to.Int64
CAMSourceDocumentLineRecId
NoCAMDataSourceDocumentLine.RecIdNone
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
SourceDocumentPoints to the source document that the relation belongs to.Int64
CAMSourceDocumentRecId
NoCAMDataSourceDocument.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • SourceDocumentLine → CAMDataSourceDocumentLine

    Join on SourceDocumentLine = CAMDataSourceDocumentLine.RecId

    Many CAMDataSourceDocumentLineRelation records → exactly one CAMDataSourceDocumentLine record

  • RelatedSourceDocumentLine → CAMDataSourceDocumentLine

    Join on RelatedSourceDocumentLine = CAMDataSourceDocumentLine.RecId

    Many CAMDataSourceDocumentLineRelation records → exactly one CAMDataSourceDocumentLine record

  • SourceDocument → CAMDataSourceDocument

    Join on SourceDocument = CAMDataSourceDocument.RecId

    Many CAMDataSourceDocumentLineRelation records → exactly one CAMDataSourceDocument record

Get this data out

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

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

Email sales@drdynamics.co.uk