Steve Endow offers a SQL Script to verify Dynamics GP GL batch control totals
Dynamics GP Land: SQL Script to verify Dynamics GP GL batch control totals
General Ledger & FinancialsSQL & DataDevelopment & Integration
Archived post from 2017. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.