void_event
Void event lines from a receipt to correct ingestion errors. Specify a line number or omit to void all lines for a source reference; voided rows are excluded from stock estimates.
Instructions
Correction path: void matching event lines (all lines of the receipt if line_no omitted). Voided rows are excluded from every estimate; re-inserting a corrected line for the same (source_ref, line_no) then works. Returns {voided: n}; zero matches is a no-op, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_no | No | ||
| source_ref | Yes |