SQL Queries working on edit invoices
row number for change of invoice works