Isaac
4Penny.net
Points: 15050

7/16/2014 3:37:12 PM

Historical Aged Trial Balance script

* This article, and all our great SQL (Dynamics) documentation, Is available on the SQL (Dynamics) menu

I've struggled mightily with the Historical Aged Trial Balance report for years.

<begin diatribe>

The technique is to take all the invoices from the beginning of time, subtract all the payments from the beginning of time, and then display the data.

But, I've yet to find a GP install where all the documents where there. There's always a missing payment, or invoice, or apply record. Always. Then I have to explain to the client why my report doesn't match GPs.

I give up.

</end diatribe>

<smiles>

Here's the script that GP uses to run this report. That's what I'm using from now on.

4Penny.net
Version: GP 10,GP 2013
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3