Suppose you have an application that creates invoices and invoice items. Once the customer receives goods invoice is paid, what do you do with the Invoice and it's children?
A) Do you flag it as "Paid/Closed" a leave it in the same table? - If yes, doesn't the table (and it's children tables) get bloated and slow down the system for queries and creating new records?
B) Do you flag them to be archived and then through some process, you simply create NEW object in another table (AR_Invoice) and copy the invoice data (and it's children) to related Archived tables and then delete the original records, to keep the original Invoice table small for "Open/Active" invoices?
C) Other ideas are welcomed.
Thanks in advance!
..Ben