POLINE for the vendor PO activity PURCHORDER to limit results by PO date range MAINVDTL if you want what was paid vs. the cost that was entered on the PO line. I use this formula for unit cost
IF {MAINVDTL.MATCH_UNIT_CST} = 0 THEN {POLINE.ENT_UNIT_CST} ELSE {MAINVDTL.MATCH_UNIT_CST}
APVENMAST to pull in the vendor name