Berikut di bawah ini link antara Purchase Order ke Goods Receipt PO
FROM OPOR A
LEFT JOIN POR1 B ON A.DocEntry = B.DocEntry
INNER JOIN PDN1 T2 ON B.DocEntry= T2.BaseEntry AND B.LineNum=T2.BaseLine
INNER JOIN OPDN T3 ON T2.DocEntry = T3.DocEntry
Trimakasih.