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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceDocumentLinePoints to the first source document line in the relation. | Int64CAMSourceDocumentLineRecId | Yes | CAMDataSourceDocumentLine.RecId | None |
RelatedSourceDocumentLinePoints to the second source document line that it is related to. | Int64CAMSourceDocumentLineRecId | No | CAMDataSourceDocumentLine.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
SourceDocumentPoints to the source document that the relation belongs to. | Int64CAMSourceDocumentRecId | No | CAMDataSourceDocument.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SourceRelatedLinesPrimary indexSourceDocumentLine,RelatedSourceDocumentLineUnique, alternate key.
Relations (3)
Each relation joins CAMDataSourceDocumentLineRelation to another table on the fields shown.
SourceDocumentLine→CAMDataSourceDocumentLineJoin on
SourceDocumentLine = CAMDataSourceDocumentLine.RecIdMany CAMDataSourceDocumentLineRelation records → exactly one CAMDataSourceDocumentLine record
SourceDocument→CAMDataSourceDocumentJoin on
SourceDocument = CAMDataSourceDocument.RecIdMany 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.