Samuel Matthew has a SQL Script to List Actual vs Budget for GL Accounts by Period
SQL Script to List Actual vs Budget for GL Accounts by Period : Microsoft Dynamics GP Discussion
General Ledger & FinancialsSQL & DataDevelopment & Integration
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.