MGCEarmarkMigrationBatch
One cut-over load from the legacy system: what was extracted, how far it has got, and who certified it. A batch is the record that a customer ledger was carried from one system to another and tied out before anybody believed it, so it is never deleted and its certification is final. Rolling a step back deletes the rows that step loaded; it does not delete the batch, because the fact that a load was attempted and rolled back is itself something a certification audit asks about.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
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. |
Status | 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. |