I am trying to add the inventory item table into the view for a new screen twice for two different fields. i want to pull the status of the 2 different inventory items that are on the below screen. I found a couple of articles that i tried, but when i add the table a second time with an alias, it is pulling all of the inventoryitems instead of just the one on the line item. I tried adding .fromCurrent in there and it didnt duplicate, but it didnt pull the information either. What am i doing wrong on this?
notes- the material id field is a free form text field so i have to use inventorycd for it. the barid field uses inventoryid in the table.

public SelectFrom<ProtoCutLine>
.LeftJoin<InventoryItem>
.On<ProtoCutLine.materialID.IsEqual<InventoryItem.inventoryCD>>
.InnerJoin<InventoryItemTwo>
.On<ProtoCutLine.barID.IsEqual<InventoryItemTwo.inventoryID>>
.Where<ProtoCutLine.orderID.IsEqual<ProtoCut.orderID.FromCurrent>>
.View ProtoLine;
public class InventoryItemTwo : InventoryItem
{
}
https://stackoverflow.com/questions/36881652/how-to-join-same-table-twice-using-pxselectjoinorderby

