RE: Posted AP transactions missing distribution on GL side
The below queries are samples of how to start, not including fully applied documents and only at Invoices, you can get the idea from here. Run against the company database.
First check, see if any Unposted Journals:
SELECT a.VENDORID, a.DOCNUMBR, b.JRNENTRY FROM PM20000 a LEFT OUTER JOIN GL10001 b ON a.DOCNUMBR = b.ORDOCNUM WHERE b.JRNENTRY IS NOT NULL AND a.DOCTYPE = 1
Second Check, only looking at Unapplied PM Transactions, and in the Current Financial Year:
SELECT a.VENDORID, a.DOCNUMBR, b.JRNENTRY FROM PM20000 a LEFT OUTER JOIN GL20000 b ON a.DOCNUMBR = b.ORDOCNUM WHERE b.JRNENTRY IS NULL AND a.DOCTYPE = 1
Mick