How to undo an import
What do I do if I loaded the wrong file?
Click Undo this import: right after the save in the import summary, later in Import history under the transaction list. The undo removes all of that import's operations and restores dividends Compass added by itself.
Where to find the undo
- On the Transactions tab scroll below the list to the Import history card. Each import shows its source, file, time and transaction count.
- At the import click Undo this import.
- Read what the undo does and click Yes, undo the import. Compass says how many operations it removed and dividends it restored.
What it restores
The undo also removes a start-of-period deposit the import saved. With Polish treasury bond purchases, it removes the interest and redemption Compass added to them, with their transfers to the bank. It restores dividends Compass added by itself for the same payouts, which the import replaced. If you hold that payout from another source, that dividend stays deleted, and Compass counts it separately. It also restores dividends removed because the broker cancelled them. It leaves transactions typed in and other imports alone. An undo cannot be undone, but the file loads again.
When Compass refuses
Compass refuses and changes nothing if a sale outside the import sold units from it, or a stock split outside it rescaled its operations. The same goes if a share exchange or a spin-off from outside it depends on them. The refusal names that operation with its date: delete it, then undo the import. It also refuses if a dividend typed in would be left without units. Without broker credit, it refuses if a later operation spent cash from the import. Both refusals name the import's operation that could not be removed. “More details” below covers refusals over bonds.
More details
How Compass undoes an import
Compass undoes an import whole or not at all. Before touching anything, it checks sales, splits, share exchanges and spin-offs outside the import. For its bonds it checks interest and redemptions outside it, automatic ones aside. It first restores the dividends removed as cancelled and the automatic ones replaced, then removes its operations, newest first, corrected ones included. A file's early bond redemption goes with its transfer or fee. Bond payouts to your bank, turned on by the wizard, stays on. Then it recalculates its securities' automatic dividends on the units left. It does not restore an earlier import's start-of-period deposit the wizard lowered or removed since. If cash runs short without its operations, a portfolio without broker credit refuses: add a deposit and undo again.
It also takes back the import's tax corrections of earlier dividends, with their cash. A tax changed by hand since stays, counted in the result. Without broker credit, it refuses if a later operation spent that cash: add a deposit or delete it. It also refuses if a later change of the dividend builds on the correction: undo or correct it first.
It also refuses if the import's bonds have interest or a redemption outside it typed or corrected by hand: delete that first. Another import's redemption blocks the undo too: undo that import first. Without broker credit, it also refuses if a later operation spent their interest and redemption cash. The server's detail names the payout removed and its cash.
What the history shows
The history shows imports with an operation or tax correction in the portfolio or a cancelled dividend, and undone ones. An import refused from its first part leaves no entry. An undone import stays, marked Undone with a date. Each shows how many automatic dividends it replaced. Times are in your time zone.