I'm having trouble figuring out how to replace a set of rows with a new set of rows.
I'm doing inventory management and need to record new purchases, deliveries and returned items. My issue comes in when any of the receipts (new items, delivery or returned items) are modified.
Each of the receipts contain x number of rows of QTY and ITEM. When the user needs to modify the contents of a receipt, what is the best way to replace the old QTY and ITEMS with the new QTY and ITEMS?
My additional issues are when the # of rows of the original set of items aren't the same with the new # of rows, and when the ITEMS aren't the same.