Mohammad Daoud has been digging through the archives and found an unpublished article with SQL code to create a Customer Statement. Thanks for publishing this Mohammad! I’ll add a link to this in the SQL code download area as well.
Dynamics GP Reporting Series: Customer Statement
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.