ContentsPrinciples
2AI data migration
5Lifecycle
7Playbooks
Guide · Principles
Plugs
A plug is a corrective record, created to take the place of a record that is missing, either because it is gone or because it does not migrate. It lets a total add up, or lets the rows that depend on the missing record load. A plug is always flagged.
Also called "a balancing entry" · in finance, "a balancing adjustment" · for a record that stands in for a missing one, "a placeholder record". Terminology→
A total that does not add up
A corrective row is created to fill the gap, and it is flagged. The invoice reaches its stated total.A line is missing. The invoice does not reach its total.
One flagged row brings the balance to the stated figure.The balance is 1,000 short of the stated figure.
A value that is not there
The numbers are an example. The second bar is not to scale.
The same picture, as text
A TOTAL THAT DOES NOT ADD UP
the invoice says 100
its lines add up to 80
the plug 20 one flagged row closes the gap
the customer owes 20,000
the invoices add up to 19,000
the plug 1,000 one flagged row closes the gap
A VALUE THAT IS NOT THERE
a row names a value that the target does not have
the plug: a flagged stand-in record the row loads
after the load the row is pointed at the real record
The numbers are an example.Why
- It is a fix with dataThe real record is gone, and without a corrective record the total stays wrong in the new system.
- The stated total is the truthWhere a total is stated, the detail must reach it.
- It can be foundA plug is flagged, so every plug can be listed and counted.
- It stops the leakOne missing record can stop a total from adding up, or stop other rows from loading. The plug holds the rest in place.
An invoice says 100. Its lines add up to 80. The plug is one row of 20. The invoice reaches its stated total in the new system, and the plug of 20 is on the list of plugs.
An old system let people delete lines after the period was closed, and it kept the old total. The lines no longer add up to that total. The gap ends in one of two ways.
How
- One rowOne plug for each gap. Do not spread the difference across the real rows.
- Flag itA plug is marked, so it does not pass as real data. While a plug is there, do not report that the numbers add up. Report the total, and the plug.
- A switchA plug can be turned on or off for each total. With the plug off, the gap stays, and it is shown as a difference.
- No stated total, no plugThis applies to a plug that closes a total. When no total is stated, the total is worked out from the rows, and there is no gap to fill.
- Count themList every plug before go-live. The business accepts each one, or it asks for another fix.
- Replace the stand-inAfter the load, a row that uses a stand-in record is pointed at the real record.
A customer owes 20,000. The invoices that migrate add up to 19,000. With the plug on, one row of 1,000 brings the balance to the stated figure. With the plug off, the balance loads at 19,000, and the 1,000 is shown as a difference.