I Have joined 2 tables TSNewQCOrder and TSNewQCOrderSpecializedTest.
I write the view.
public PXSelectJoin<TSNewQCOrder,
InnerJoin<TSNewQCOrderSpecializedTest,
On<TSNewQCOrderSpecializedTest.qCOrderType, Equal<TSNewQCOrder.qCOrderType>,
And<TSNewQCOrder.qCOrderNbr, Equal<TSNewQCOrderSpecializedTest.qCOrderNbr>>>>,
Where<TSNewQCOrder.qCOrderNbr, IsNotNull>, OrderBy<Desc<TSNewQCOrder.createdDateTime>>> TSSOShipmentQualityOrderView;
protected virtual IEnumerable tSSOShipmentQualityOrderView()
{
SOShipment rec = Base.Document.Current;
PXSelectBase<TSNewQCOrder> cmd = new PXSelectJoin<TSNewQCOrder, InnerJoin<TSNewQCOrderSpecializedTest,
On<TSNewQCOrderSpecializedTest.qCOrderType,
Equal<TSNewQCOrder.qCOrderType>, And<TSNewQCOrder.qCOrderNbr, Equal<TSNewQCOrderSpecializedTest.qCOrderNbr>>>>,
Where<TSNewQCOrder.refDoc, Equal<Required<TSNewQCOrder.refDoc>>,
And<TSNewQCOrder.docNbr, Equal<Required<TSNewQCOrder.docNbr>>>>, OrderBy<Asc<TSNewQCOrder.createdDateTime>>>(Base);
if (rec != null)
{
if (rec.ShipmentNbr != null)
{
foreach (PXResult<TSNewQCOrder, TSNewQCOrderSpecializedTest> line in cmd.Select("E", rec.ShipmentNbr))
{
TSNewQCOrder row = line;
TSNewQCOrderSpecializedTest row1 = line;
yield return new PXResult<TSNewQCOrder, TSNewQCOrderSpecializedTest>(row, row1);
}
}
}
}
On this (View Quality Order) Action button all rows are coming in popup.
when I am trying to get the current row, I am getting only 1 table (TSNewQCOrder) fields. I did not get fields from this TSNewQCOrderSpecializedTest table.
How i can get all the fields from both tables?