Skip to main content

MGCEarmarkMigrationBatchEntity

Read-only audit export of a cut-over, one row per batch and step, carrying the batch header, the step record counts and the certification. Batches with no steps prepared still appear, with the step columns empty. Tie-out lines and dispositions export through the migration tie-out entity. Nothing is loadable: an importable batch could assert that a ledger was tied out and certified when nothing was ever compared.

  • Public collection name: MGCEarmarkMigrationBatches
  • Primary key: MigrationBatchId, Step

Fields​

NameTypeMandatoryDescription
MigrationBatchIdMGCEarmarkMigrationBatchIdYesThe 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.
SourceSystemMGCEarmarkNaturalKeyYesWhich system this batch was extracted from. Recorded because it is the first thing anybody asks when a tie-out does not balance.
ExportDateTransDateYesThe 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.
BatchStatusMGCEarmarkMigrationStepStatusNo
CertifiedByUserIdNoWho 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.
CertifiedDateTimeTransDateTimeNoWhen the batch was certified. Certification is terminal: nothing moves the batch out of it afterwards.
BypassPrivilegeRevokedNoYesIdNoWhether 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.
StepMGCEarmarkMigrationStepNo
StepStatusMGCEarmarkMigrationStepStatusNo
RowsStagedCounterNoHow many records this step has staged from the source extract.
RowsValidatedCounterNoHow many staged records passed validation and are ready to load.
RowsLoadedCounterNoHow many records this step has written into the live tables.
RowsRejectedCounterNoHow 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.
RowsDispositionedCounterNoHow many of this step differences a person has decided about. Certification is blocked while any remains undispositioned.
LastRunDateTimeTransDateTimeNoWhen 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.
ExceptionCountCounterNoHow 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.

Mappings​

Entity fieldData sourceField
MigrationBatchIdMGCEarmarkMigrationBatchMigrationBatchId
SourceSystemMGCEarmarkMigrationBatchSourceSystem
ExportDateMGCEarmarkMigrationBatchExportDate
BatchStatusMGCEarmarkMigrationBatchStatus
CertifiedByMGCEarmarkMigrationBatchCertifiedBy
CertifiedDateTimeMGCEarmarkMigrationBatchCertifiedDateTime
BypassPrivilegeRevokedMGCEarmarkMigrationBatchBypassPrivilegeRevoked
StepMGCEarmarkMigrationBatchStepStep
StepStatusMGCEarmarkMigrationBatchStepStatus
RowsStagedMGCEarmarkMigrationBatchStepRowsStaged
RowsValidatedMGCEarmarkMigrationBatchStepRowsValidated
RowsLoadedMGCEarmarkMigrationBatchStepRowsLoaded
RowsRejectedMGCEarmarkMigrationBatchStepRowsRejected
RowsDispositionedMGCEarmarkMigrationBatchStepRowsDispositioned
LastRunDateTimeMGCEarmarkMigrationBatchStepLastRunDateTime
ExceptionCountMGCEarmarkMigrationBatchStepExceptionCount