NG Bailey / CVR

Commitments Reconciliation (Project 446459)

What Was Compared

Both queries were run against the live Focalpoint database on 10 Sep 2026 for project 446459 (Maidenhead Grid): the exact query from the published ProjectCommitments RDL (line level, quantity gated) and the proposed rewrite (order level, values only, credits netted, floored at zero). Every difference between the two reconciles exactly to a known defect in the old calculation.

📊 commitment-reconciliation-446459.xlsx
Three sheets: Reconciliation (per order differences with explanations), Old Report Line Level (the RDL query output), New Query Order Level (the proposed query output).

Headline

Old report commitment
£2,826,879.10
New query commitment
£2,784,701.58
Old report overstates by
£42,177.52

The old report overstates this one project's commitment by £42,177.52. Every penny of the difference is accounted for below, and every cause maps to one of the agreed report changes.

Per Order Differences

OrderSupplierOldNewDiffExplanation
912364PT Contractors Ltd 2,771,288.562,732,727.93+38,560.63 Line 1 ordered £389.50 but invoiced £38,950.13 (roughly 100×, a possible decimal keying error or a cert matched to the wrong line). The quantity gate zeroes the line, hiding a £38.5k over-invoice. Order level netting includes it.
920438Microll Engineering Ltd 3,698.490.00+3,698.49 The auto-split order (Issue 24, the original worked example). Line 1 over-invoiced by £3,698.49 and gated to zero; line 2 under-invoiced by the same. The order is now fully invoiced; order level nets to exactly zero.
923899Reconomy UK Ltd 92.5043.89+48.61 Second line over-invoiced (£50 ordered, £98.61 posted), gated to zero by the old report.
914382Cable Services (Central) Ltd 30.000.00+30.00 Invoices swapped across two lines (£7,000/£7,030 and £1,988.45/£1,958.45). Old report shows £30 commitment; order level correctly nets to zero.
913556Circle Waste Limited 5,167.575,146.77+20.80 £23.40 posted against a £2.60 line, hidden by the quantity gate.
918053Apex Site Solutions Ltd −124.000.00−124.00 Old report shows a negative commitment, quietly reducing the project total. New report floors at zero and flags OverInvoiced.
916394Sunbelt Rentals Ltd −57.000.00−57.00 As above: negative on the old report, floored and flagged on the new.
918055Sunbelt Rentals Ltd 0.000.01−0.01 Quantity matched but 1p under-invoiced. The quantity gate hides it; the value rule shows it.
TOTAL 2,826,879.102,784,701.58+42,177.52 Reconciled exactly. All other orders agree between the two reports.

Additional Findings

Conclusion

The proposed order level, values only calculation reconciles exactly to the existing report, with every difference explained by a known defect: the quantity gate hiding over-invoices (seven cases), line level matching inheriting Focalpoint's auto-splits (920438, 914382), and negative commitments quietly netting off the project total (918053, 916394). The category columns on the new output sum to the commitment total on every row. This is the evidence pack for Issue 15.