VendPackingSlipJour >>
Loop VendPackingSlipTrans,
VendPackingSlipTrans.InvoiceTransRefRecId == VendInvoiceTrans.RecId
VendInvoiceTrans >> VendInvoiceJour,
In VendTrans table, there is a Standard relation to VendInvoiceJour, make use of it.
VendPackingSlipJour >>
Loop VendPackingSlipTrans,
VendPackingSlipTrans.InvoiceTransRefRecId == VendInvoiceTrans.RecId
VendInvoiceTrans >> VendInvoiceJour,
In VendTrans table, there is a Standard relation to VendInvoiceJour, make use of it.