Hi,
how can we get the relation between the salesinvoicetmp table and the salesline table, apart from sales id and item id, what other matching we can do between these two tables? as the sales id and item id matching doesn't work when we have multiple lines with same item id so provide your inputs on this.