A TableSyncSetup value Copy for old table cannot be specified when no new table exists

When upgrading a old NAV database you sometimes need to transfer data to new tables. With the Upgrade codeunits you can manage this easily.
First you make a TableSyncSetup function where you configure your transfer.
And then you make an UpgradePerCompany or UpgradePerDatabase function where you will do the actual transfer.

But recently I got the following strange error when deleting a table.

The system tells me that there doesn’t exists a new table???? Continue reading