# The five fields used for reconciliation

Reconciliation after a cutover usually fails for a boring reason: the two systems are compared on "the record exists" instead of on the five fields that decide whether the books stay straight.

A five-field match closes that gap, and the query is short enough to keep in the runbook:

```sql
SELECT o.id,
       o.status = n.status     AS status_ok,
       o.amount = n.amount     AS amount_ok,
       o.owner_id = n.owner_id AS owner_ok,
       o.due_date = n.due_date AS due_ok
FROM legacy_open o
FULL JOIN new_open n USING (id)
WHERE NOT (o.status = n.status
       AND o.amount = n.amount
       AND o.owner_id = n.owner_id
       AND o.due_date = n.due_date);
```

Why these and not the whole row: status, amount, owner, due date and the version stamp are the fields a client, a finance close or a support ticket will quote back at you.
Two rules keep the check honest:

1. Run it on the same snapshot time on both sides and record that time in the runbook. A query run an hour apart compares two different worlds.
2. Count unmatched rows per field, not just in total. "12 records differ" hides that all 12 differ on the due date because of a timezone default.

At OBSIDIAN Studio the same five-field match is one row of the four-row acceptance sheet (input, expected, actual, verdict) agreed before work starts, and the sheet is re-run on delivery with execution ids linking the raw logs.

Free scenario demos and the scope/price sheet:
https://web.intelliliving.kr?utm_source=hashnode&utm_medium=organic&utm_campaign=b2b_obsidian&utm_content=hn_07

Which field in your last migration produced the most mismatches — amount, owner, or a date?
