Undo an import you did not mean to run
The wrong file, week or network: what undo deletes, what it keeps, the typed confirmation above 100 rows, and what happens to the review queue.
By The AffCheck team · Updated
The wrong file, the wrong week, the wrong network: it is the first-month mistake, and it is reversible. Every import has an undo.
The one rule
Every row of this import that you have not decided on is deleted. Every row you already decided on stays.
That is the whole rule, and the screen says it in the same words. Undecided rows go, with the flags raised on them. Decided rows stay, with your decision, because a decision is a record of something you did — deleting it to tidy up an import would be the more surprising behaviour.
How to undo an import
- Open Imports and click the import in the list — network, day, rows, matched, flagged, who ran it.
- On the import's page, read the undo card. It tells you exactly how many rows would be deleted and how many would be kept.
- Confirm.
Everything happens in one database transaction: the undecided rows are deleted, what remains is counted, and the import record itself is removed last so the kept rows simply lose their link to it. The undo is written to the workspace's audit log in the same transaction — which import, who ran it, how many rows went and how many stayed — so it can be answered later even though there is no screen for it yet.
The typed confirmation
Above 100 rows you are asked to type a phrase, delete 412 rows, with the real number in it. The box is a courtesy; the server counts the rows again and checks the phrase again, so a browser that skips it is refused.
The threshold counts the rows that would go, not the rows the import brought in. An import of 5,000 rows where you have already decided nearly everything is a small undo, and is treated as one.
What happens to the review queue
The rules are re-run straight after, so the queue's totals fall to match. Flags on deleted rows are gone with them; decisions you kept are untouched. Give it a few seconds and refresh.
There is no file name to check against
Neither the imports list nor the import's page shows a file name, because AffCheck does not keep one. An import is identified by its network, its day and its row count. If two imports look alike, the row counts and the times will separate them.
When undo is not the answer
- You imported the right file with the wrong columns mapped. Undo it, then import again — the mapping question comes back when the header layout is one AffCheck has not saved an answer for.
- You imported the same file twice. Nothing to undo: rows de-duplicate on the transaction id, or on the order reference and date when there is no id, so the second import updated rows instead of adding them.
- You want the whole store gone. That is a different action, with a different warning: delete your data or your workspace.
- The import failed. A failed import has nothing to take back; see when an import fails or gets stuck.
FAQ
Questions, answered
Will undo remove decisions I already made?
No. Every row you decided on stays, with its decision. Only rows you had not decided on are deleted, and their flags go with them.
Why do I have to type a phrase?
Above 100 rows the deletion is large enough to be worth a pause. The phrase counts the rows that would go, not the rows the import brought, and the server re-checks it.
Can I undo an import from last month?
Yes. There is no time limit — the rule is the same whenever you run it.
Related
- Import a network export How the Imports screen reads a pending-transactions CSV in your browser, what it stores, and what happens when it asks you to match the columns.
- When an import fails or gets stuck What each import state means, how long “working” is normal, what the reference number is for and when “Try again” fixes it.
- Work through the review queue How the review queue groups flags by reason, what the four totals mean, how to decide a row or a whole group, and what a changed suggestion is.
- Delete your data or your workspace How long AffCheck keeps merchant data, how to download everything it holds, and what deleting a workspace or an account removes.
See what you paid for last month.
Two exports, five minutes, a dollar figure for your store. Files never leave your browser.