Mahmood Alsaadi gives us General Ledger Journals with Analytical Accounting Details (with Drill Down Capabilities from Excel) –SQL Script
Dynamics GP Essentials: General Ledger Journals with Analytical Accounting Details (with Drill Down Capabilities from Excel) –SQL Script
General Ledger & FinancialsExcel & OfficeSQL & Data
Archived post from 2016. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.
