Here is what you were trying to do, but as MajP pointed out, there is no way to differentiate the normal order items from the rollback items unless you change the structure of the table as he already laid out for you.
INSERT INTO tblLineDetails ( InvoiceID, Quantities, SellingPrice, ProductName...