So I have written the SQL statement in management studio to return what I need based on the proper billofladingid.
select * from WHSLOADLINE whsl
inner JOIN WHSSHIPMENTTABLE wshsp ON wshsp.LOADID = whsl.LOADID
inner JOIN WHSBILLOFLADING whsb ON whsb.SHIPMENTID = wshsp.SHIPMENTID
where whsb.BILLOFLADINGID = 'SCSK-000000101'

Then I try to recreate it in the code and its returning some other line that to me doesn't correspond at all. The billofladingid is correct for the end. I'm confused. I have tried moving the where's around to no avail.
select whsloadline
JOIN whsshipmenttable WHERE whsloadline.LOADID == whsshipmenttable.LOADID
JOIN WHSbillOfLading2 WHERE WHSbillOfLading2.SHIPMENTID == whsshipmenttable.SHIPMENTID &&
WHSbillOfLading2.BILLOFLADINGID == ExtbillOfLading.BillOfLadingId;
WHSBillOfLadingTmp.GRO_OrderNum = whsloadline.OrderNum;

