Over at the Dynamics GP Builders & Reporting site, they have a nice look at adding the GL accounts to Builder Lists.
Distribution Tables – adding the GL accounts to Builder Lists
General Ledger & FinancialsSQL & Data
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.