You definitely forgot to add one more caluse:
&& salesLine.SalesId == salesTable.SalesId
without it you would get data that does not make ant sense.
You definitely forgot to add one more caluse:
&& salesLine.SalesId == salesTable.SalesId
without it you would get data that does not make ant sense.