Table

ReleaseUpdateScriptsHistory

Upgrade script history

Keeps the history of upgrade scripts that ran, per data partition, company, script and stage. It stores the status, start time, duration, version and batch job. It links to the Batch and DataArea tables.

Table name
ReleaseUpdateScriptsHistory
Module
System administration
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
ScriptIdStageIdx
Key fields
DataPartition, Company, ScriptId, ScriptStage
Model
ApplicationFoundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataPartitionData partition the script ran in.String
PartitionKey
NoNone
CompanyCompany the script ran for; links to DataArea.String
CompanyId
YesNone
ScriptIdScript identifier, labelled as a count in the metadata.low confidenceInteger
ReleaseUpdateCount
YesNone
ScriptStageStage of the script, such as pre-sync, post-sync or additional.Enum
ReleaseUpdateScriptStage (enum)
NoNone
BatchIdBatch job linked to the run; points to a Batch record.Int64
RefRecId
NoBatch.RecIdNone
ClassIDID of the class that holds the script.Integer
ClassId
NoNone
DescriptionFree-text description of the script.String (255)
FreeText
NoNone
MethodName of the script method.String
SysMethodName
NoNone
ModuleModule the script belongs to.String (64)
ReleaseUpdateModule
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
ScriptTypeType of script, such as start, standard, final or bulk copy.Enum
ReleaseUpdateScriptType (enum)
NoNone
scriptVersionReleased version the script belongs to.Enum
sysReleasedVersion (enum)
NoNone
StartDateTimeDate and time the script started.UtcDateTime
StartDateTime
NoNone
StatusState of the run, such as finished, running or error.Enum
ReleaseUpdateStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimeRunningHow long the script ran.Real
RealBase
NoNone

Indexes (1)

Relations (2)

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

  • Batch → Batch

    Join on BatchId = Batch.RecId

    Many ReleaseUpdateScriptsHistory records → zero or one Batch record

  • DataArea → DataArea

    Join on Company = DataArea.id, DataArea.isVirtual = null

    Many ReleaseUpdateScriptsHistory records → exactly one DataArea record

Get this data out

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

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

Email sales@drdynamics.co.uk