Victoria Yudin offers a SQL view for current payables aging with detail.
SQL view for Current Payables Aging Details
Payables & ReceivablesSQL & Data
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.