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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataPartitionData partition the script ran in. | StringPartitionKey | No | None | |
CompanyCompany the script ran for; links to DataArea. | StringCompanyId | Yes | None | |
ScriptIdScript identifier, labelled as a count in the metadata.low confidence | IntegerReleaseUpdateCount | Yes | None | |
ScriptStageStage of the script, such as pre-sync, post-sync or additional. | EnumReleaseUpdateScriptStage (enum) | No | None | |
BatchIdBatch job linked to the run; points to a Batch record. | Int64RefRecId | No | Batch.RecId | None |
ClassIDID of the class that holds the script. | IntegerClassId | No | None | |
DescriptionFree-text description of the script. | String (255)FreeText | No | None | |
MethodName of the script method. | StringSysMethodName | No | None | |
ModuleModule the script belongs to. | String (64)ReleaseUpdateModule | No | 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 | |
ScriptTypeType of script, such as start, standard, final or bulk copy. | EnumReleaseUpdateScriptType (enum) | No | None | |
scriptVersionReleased version the script belongs to. | EnumsysReleasedVersion (enum) | No | None | |
StartDateTimeDate and time the script started. | UtcDateTimeStartDateTime | No | None | |
StatusState of the run, such as finished, running or error. | EnumReleaseUpdateStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeRunningHow long the script ran. | RealRealBase | No | None |
Indexes (1)
ScriptIdStageIdxReplacement keyDataPartition,Company,ScriptId,ScriptStageUnique, alternate key.
Relations (2)
Each relation joins ReleaseUpdateScriptsHistory to another table on the fields shown.
Batch→BatchJoin on
BatchId = Batch.RecIdMany ReleaseUpdateScriptsHistory records → zero or one Batch record
DataArea→DataAreaJoin on
Company = DataArea.id,DataArea.isVirtual = nullMany 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.