Discard statement
purch_discard_sourceThrow out one imported statement and every row that came from it, with a reason, so it can be re-read and imported again. A wrong row means a wrong source (P-2): rows are never edited, the statement is discarded and imported again from a fresh read. Receipts matched to its rows go back to unmatched and are listed; vendors, aliases and subscriptions stay — they are the person's words, not the statement's. The hash is free again afterwards. Owner's act, on the record. Effects: source and its transactions deleted; matched receipts unmatched; hash free to import again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why — a misread column, the wrong file, a re-read. | |
| source_id | Yes | The statement, e.g. SRC-0001. |