Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
Points: 15150

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>


Here's the script that GP uses to run this report. That's what I'm using from now on.
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