Table

ERBDTemplateVersionTable

Template version

Holds one version of a template, with its name, version number and a comment. Each row links to a document reference and a document value record. Flags show which version is active, whether it is validated and whether it is being edited.

Table name
ERBDTemplateVersionTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
ElectronicReportingBusinessDoc

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActiveMarks the version that is chosen to be used when the configuration runs.Enum
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DescriptionFree-text comment about this template version.String (-1)
ERBDDescription
NoNone
DocuRefPoints to the related document reference record, by system record ID.Int64
RefRecId
NoDocuRef.RecIdNone
DocuValuePoints to the related document value record, by system record ID.Int64
RefRecId
NoDocuValue.RecIdNone
InEditShows that the active version is being edited at the moment.Enum
NoYes (enum)
NoNone
IsValidatedShows whether the version has been validated. The values are No and Validated.Enum
ERBDIsValidated (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameName of the template version.String (60)
Name
NoNone
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
TemplateModifiedDateTimeDate and time when this version was created.UtcDateTime
ERVersionDateTime
NoNone
VersionNumberNumber that identifies the version.Integer
ERRevisionNumber
YesNone

Indexes (3)

Relations (2)

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

  • DocuValue → DocuValue

    Join on DocuValue = DocuValue.RecId

    Zero or one ERBDTemplateVersionTable record → exactly one DocuValue record

  • DocuRef → DocuRef

    Join on DocuRef = DocuRef.RecId

    Many ERBDTemplateVersionTable records → exactly one DocuRef record

Get this data out

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

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

Email sales@drdynamics.co.uk