If the PO is posted you can try to join markuptrans with vendInvoiceInfoTable/vendinvoiceJour.
select * from markupTrans where markupTrans.TransRecId == vendInvoiceInfoTable.RecId &&
markupTrans.TransTableId == vendInvoiceInfoTable.TableId
If the PO is posted you can try to join markuptrans with vendInvoiceInfoTable/vendinvoiceJour.
select * from markupTrans where markupTrans.TransRecId == vendInvoiceInfoTable.RecId &&
markupTrans.TransTableId == vendInvoiceInfoTable.TableId