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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceDocumentPoints to the source document that the value belongs to.Int64
CAMSourceDocumentRecId
YesCAMDataSourceDocument.RecIdNone
SourceDocumentLinePoints to the source document line that the value belongs to.Int64
CAMSourceDocumentLineRecId
NoCAMDataSourceDocumentLine.RecIdNone
AttributePoints to the attribute that this value is recorded for.Int64
CAMAttributeRecId
YesCAMDataAttribute.RecIdNone
ValidFromStart of the period in which the value applies. It is part of the key.UtcDateTime
ValidFromDateTime
YesNone
InstanceRelationTypeIdentifies the kind of record this is, using a type number. The label says 'Dimension type'.low confidenceInt64
CAMSourceDocumentAttributeValueRelationType
YesNone
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
SourceDocumentLineRelationPoints to the source document line relation record linked to this value.Int64
CAMSourceDocumentLineRelationRecId
NoCAMDataSourceDocumentLineRelation.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValidToEnd of the period in which the value applies.UtcDateTime
ValidToDateTime
YesNone

Indexes (2)

Relations (4)

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

  • SourceDocument → CAMDataSourceDocument

    Join on SourceDocument = CAMDataSourceDocument.RecId

    One or more CAMDataSourceDocumentAttributeValue records → exactly one CAMDataSourceDocument record

  • SourceDocumentLine → CAMDataSourceDocumentLine

    Join on SourceDocumentLine = CAMDataSourceDocumentLine.RecId

    Many CAMDataSourceDocumentAttributeValue records → zero or one CAMDataSourceDocumentLine record

  • Attribute → CAMDataAttribute

    Join on Attribute = CAMDataAttribute.RecId

    Many CAMDataSourceDocumentAttributeValue records → exactly one CAMDataAttribute record

  • SourceDocumentLineRelation → CAMDataSourceDocumentLineRelation

    Join on SourceDocumentLineRelation = CAMDataSourceDocumentLineRelation.RecId

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

Email sales@drdynamics.co.uk