Good to hear from you Bill. Nice to see BG is doing a good job!
Its been so long since I developed the code for deleting accounts I decided to do more testing, so I could give a satisfactory reply to your posting.
Heres what I did, and you can try this yourself, of course.
For peace of mind, do a Backup before starting and restore after testing if you wish.
Add a Bank A
Add a Bank B
Add a Bank C
Create Transfer transactions from A to B and A to C
Create Transfer transactions from B to A and B to C
Create Transfer transactions from C to B and C to A
Reconcile statements in B
Then delete Account B
The program asks you to confirm delete.
When you opt to continue, the program prompts you again, warning you that there are Transactions and Statements, and these will also be deleted.
Thus, in answer to your question, the program deletes all records in all the database tables associated with that account.
After deleting B, the big test then is to look at (actually edit) the transfer transactions in A and C, and make sure there you can access the transactions in A and C which hold to and from Transfers from B
Heres what happens:
When you edit a transaction in A which was a Transfer to B, the pop-up cannot be set to indicate which bank the transfer was made to (its deleted).
Apart from that, the details are intact. The Expense code continues to show "Transfer"
Hence, for transferred records, I'd recommend you put the name of the transfer to Account in the "Paid To" field, or in the memo field associated with each transaction.
When you edit a transaction in A which was a Transfer FROM B, the detail is "as was" before the account delete operation.
I did a further check by looking at the tables in the Development environment, and all was deleted as expected.
Note:
When you delete records, the data is actually still in the database, but with a delete flag (hidden from the user). The records continue to take up disc space until you use the PACK program.
Let me know how you get on, Bill (again, do a backup before deleting your redundant account)