MigrationBatchId | MGCEarmarkMigrationBatchId | Yes | The identifier of a cut-over migration batch, which is one ordered, idempotent run of the migration steps, each with its own validation and its own tie-out. It is allocated from the Migration batch ID number sequence, with a generated fallback while sequences are unconfigured. Because a certified tie-out cites the batch ID, the sequence may never be lowered. Implements requirement F10. |
SourceSystem | MGCEarmarkNaturalKey | Yes | Which system this batch was extracted from. Recorded because it is the first thing anybody asks when a tie-out does not balance. |
ExportDate | TransDate | Yes | The date the source data was extracted. Together with the source system it is what makes the extract reproducible, which is the second thing anybody asks when a tie-out does not balance. |
BatchStatus | MGCEarmarkMigrationStepStatus | No | |
CertifiedBy | UserId | No | Who signed the batch off. Certification is gated to a duty the migration lead deliberately does not hold, so that nobody certifies their own load; the pairing is seeded into segregation of duties. |
CertifiedDateTime | TransDateTime | No | When the batch was certified. Certification is terminal: nothing moves the batch out of it afterwards. |
BypassPrivilegeRevoked | NoYesId | No | Whether the time-boxed privilege that let the load create approved deals without the approval workflow has been taken away again. Certification lists it for revocation and this column records that it happened - a go-live checklist row rather than a hope. It is the one column that legitimately changes after certification, because the act it records happens after it. |
Step | MGCEarmarkMigrationStep | No | |
StepStatus | MGCEarmarkMigrationStepStatus | No | |
RowsStaged | Counter | No | How many records this step has staged from the source extract. |
RowsValidated | Counter | No | How many staged records passed validation and are ready to load. |
RowsLoaded | Counter | No | How many records this step has written into the live tables. |
RowsRejected | Counter | No | How many records this step refused. A rejected record does not stop the batch: the step continues, the record is reported, and correcting it moves the batch back to staged so it can be validated again. |
RowsDispositioned | Counter | No | How many of this step differences a person has decided about. Certification is blocked while any remains undispositioned. |
LastRunDateTime | TransDateTime | No | When this step last ran. A step may run more than once - retrying a record, or re-running after a correction - and this is always the most recent. |
ExceptionCount | Counter | No | How many execution exceptions this step has produced. The exceptions themselves are in the execution exceptions workbench, where they can be triaged and retried; this count is here so the step grid shows which step needs attention without anybody having to open it. |