Table
CAMDataSourceDocumentAttributeValue
Source document attribute value
Stores an attribute value linked to a source document and one of its lines. The key combines the source document, the line, the attribute and a valid-from date, so values can change over time. It also links to a source document line relation. Separate value tables hold the actual amount, date, quantity or text.
- Table name
CAMDataSourceDocumentAttributeValue- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
CAMCostAccounting- Primary index
SourceDocumentLineAttributeValidFromIdx- Replacement key
None- Key fields
SourceDocument, SourceDocumentLine, Attribute, ValidFrom- Model
CostAccounting
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceDocumentPoints to the source document that the value belongs to. | Int64CAMSourceDocumentRecId | Yes | CAMDataSourceDocument.RecId | None |
SourceDocumentLinePoints to the source document line that the value belongs to. | Int64CAMSourceDocumentLineRecId | No | CAMDataSourceDocumentLine.RecId | None |
AttributePoints to the attribute that this value is recorded for. | Int64CAMAttributeRecId | Yes | CAMDataAttribute.RecId | None |
ValidFromStart of the period in which the value applies. It is part of the key. | UtcDateTimeValidFromDateTime | Yes | None | |
InstanceRelationTypeIdentifies the kind of record this is, using a type number. The label says 'Dimension type'.low confidence | Int64CAMSourceDocumentAttributeValueRelationType | Yes | 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 | |
SourceDocumentLineRelationPoints to the source document line relation record linked to this value. | Int64CAMSourceDocumentLineRelationRecId | No | CAMDataSourceDocumentLineRelation.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValidToEnd of the period in which the value applies. | UtcDateTimeValidToDateTime | Yes | None |
Indexes (2)
SourceDocumentLineAttributeValidFromIdxPrimary indexSourceDocument,SourceDocumentLine,Attribute,ValidFromUnique, alternate key.
SourceDocumentLineRelationIdxNot unique.
Relations (4)
Each relation joins CAMDataSourceDocumentAttributeValue to another table on the fields shown.
SourceDocument→CAMDataSourceDocumentJoin on
SourceDocument = CAMDataSourceDocument.RecIdOne or more CAMDataSourceDocumentAttributeValue records → exactly one CAMDataSourceDocument record
SourceDocumentLine→CAMDataSourceDocumentLineJoin on
SourceDocumentLine = CAMDataSourceDocumentLine.RecIdMany CAMDataSourceDocumentAttributeValue records → zero or one CAMDataSourceDocumentLine record
Attribute→CAMDataAttributeJoin on
Attribute = CAMDataAttribute.RecIdMany CAMDataSourceDocumentAttributeValue records → exactly one CAMDataAttribute record
SourceDocumentLineRelation→CAMDataSourceDocumentLineRelationJoin on
SourceDocumentLineRelation = CAMDataSourceDocumentLineRelation.RecIdMany CAMDataSourceDocumentAttributeValue records → zero or one CAMDataSourceDocumentLineRelation record
Get this data out
No public entity reads from CAMDataSourceDocumentAttributeValue. Its data is only reachable through the application, a custom entity or a database export.
Need help with CAMDataSourceDocumentAttributeValue in a report, an integration or a migration? Talk to Dr Dynamics.