So I already have the lineNo What I need is;
Pass1
InvoiceNo, ItemNo, LineNo---INTO--- InvoiceNo, ItemNo, Quanity
10100001, 11223, 1---------------------10100001, 11223, 2
10100001, 11223, 2---------------------10100001, 88923, 1
10100001, 88923, 3---------------------10100002, 45124, 1...