Hello Jeff,
If you have a selection formula that will restrict the list to only invoices, then no orders should ever print, regardless if they were deleted or are still active.
To make sure that your selection criteria is actually selecting what you want, I would suggest you (temporarily) insert the field 'Document Type' into the Detail section of your report. If you only intend to print invoices, and you see 'Order' print anywhere, that means the syntax of you selection formula is incorrect.
What probably is happening is that you have a number of statements in your selection formula, separated by 'AND' or 'OR'. The process of selecting records may not be working as you would expect, because 'AND' conjunctions are evaluated before 'OR' conjunctions. To fix this, place brackets around any group of statements separated by 'OR'. For example:
Document type = "Invoice" AND (Category = "AAA" OR Category = "BBB") AND ...
Orders and Invoices are stored as separate documents, so if you delete orders, this will not automatically delete the respective invoices (which can only be purged through Day End Processing).
Regards,