Verifying an AI-generated ERP report
Preserve the query and extract timestamp, then independently reconcile detail counts, duplicate keys, subtotals and the grand total.
- Author
- Seung-joo Park
- Reviewer
- Seung-joo Park
- Last updated
The companies, items and codes in this article are fictional examples for teaching.
How we write and reviewApplying the rule
Sales lines of 14 and 6 fictional units plus their subtotal of 20 produced a reported 40.
Summing the two source lines gives 20. Exclude subtotal rows from the aggregation input.
A fictional example from the companion lesson
- Situation
- Fictional example · A Hanbit Stationery clerk gave an AI this month’s transaction data and asked for report sentences. The AI miscalculated the total and added a comparison with last month that was never provided, yet the wording was smooth. (Amounts are made-up teaching numbers.)
- Result
- Used without checking, a wrong number goes straight into reports and decisions, and later it is hard to find where it went wrong.
Decision table
| Branch | Condition | Action |
|---|---|---|
| First case | Total differs | Trace duplicates and scope |
| Second case | Total matches | Check groups and samples |
Frequently asked questions
Does a matching grand total finish validation?
Omissions and duplicates can cancel out. Reconcile group subtotals and sample source keys, quantities and amounts.
How should the example in this article be handled?
Summing the two source lines gives 20. Exclude subtotal rows from the aggregation input.
Is an AI right when it sounds confident?
An AI produces plausible sentences and guarantees neither calculation nor fact. A person must check that totals, counts, periods and comparison bases match the source data.
