Table

CAMDataSourceDocumentVersion

Source document version

Holds version records for source documents in cost accounting. Each record links one source document to a version date and time. The source document and the version date and time together form the key.

Table name
CAMDataSourceDocumentVersion
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
CAMCostAccounting
Primary index
SourceDocumentVersionDateTimeIdx
Replacement key
None
Key fields
SourceDocument, VersionDateTime
Model
CostAccounting

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceDocumentPoints to the source document that the version belongs to.Int64
RefRecId
YesCAMDataSourceDocument.RecIdNone
VersionDateTimeDate and time of the version, stored in UTC.UtcDateTime
CAMVersionDateTime
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • SourceDocument → CAMDataSourceDocument

    Join on SourceDocument = CAMDataSourceDocument.RecId

    One or more CAMDataSourceDocumentVersion records → exactly one CAMDataSourceDocument record

Get this data out

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

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

Email sales@drdynamics.co.uk