Microsoft Dynamics GP SQL Reporting: Alba Spectrum Houston - Alba Spectrum Group, http://www.albaspectrum.com help@albaspectrum.com 1-866-528-0577, 1-630-961-5918 Microsoft Great Plains Dynamics GP is SQL driven application and SQL scripting should be good support for Finance department in analyzing their financial positions, especially when you have cash flow responsible subdivisions within your company. Similar job can be done in such tools as FRx, Crystal Reports, however it is often too difficult to produce new FRx report, and it is too quick to run select scripts against your GL.
International Press Release Publishing for free in 15 languages across 22 countries
Press Releases

Microsoft Dynamics GP SQL Reporting: Alba Spectrum Houston

2007/04/04 07:03

Press Release from:
Alba Spectrum Group
Alba Spectrum Group, http://www.albaspectrum.com help@albaspectrum.com 1-866-528-0577, 1-630-961-5918

Microsoft Great Plains Dynamics GP is SQL driven application and SQL scripting should be good support for Finance department in analyzing their financial positions, especially when you have cash flow responsible subdivisions within your company. Similar job can be done in such tools as FRx, Crystal Reports, however it is often too difficult to produce new FRx report, and it is too quick to run select scripts against your GL. Plus SQL has advantage of joining GL with SOP, POP, IV
Microsoft Dynamics GP SQL Reporting: Alba Spectrum Houston
Alba Spectrum Group
and produce aggregated queries for specific set of posted transactions. In this small article we will show you how to produce Balance sheet for account segment.

Let’s assume you have subdivisions, each of them has individual second segment on account. Following statement aggregates Debit-Credit summary for this segment (1001 in the sample below):

select
b.ACTNUMBR_1+ ' '+ b.ACTNUMBR_2, sum(DEBITAMT) - sum (CRDTAMNT)
from
GL20000 a
join GL00100 b on a.ACTINDX=b.ACTINDX
where b.ACTNUMBR_2='1001'
and a.OPENYEAR=2007
group by b.ACTNUMBR_1+ ' '+ b.ACTNUMBR_2
order by b.ACTNUMBR_1+ ' '+ b.ACTNUMBR_2 asc

You should see the results, similar to followings:

1000 1001 1000.00
2000 1001 500.00
4000 1001 -3000.00
5000 1001 1000.00
6000 1001 500.00

Please, note, that you should always have 0 in summary debit minus credit, if you assume that your subdivision is responsible for its cash flow. However, obviously in real life you should be checking if this is the case and your accounting department keeps posting accurately on relevant account segments. The following script will give you summary debit-credit for the segment:

select
sum(DEBITAMT), sum (CRDTAMNT), sum(DEBITAMT) - sum (CRDTAMNT)
from
GL20000 a
join GL00100 b on a.ACTINDX=b.ACTINDX
where b.ACTNUMBR_2='1001'
and a.OPENYEAR=2007

You can use this script to verify on the fly in SQL Query analyzer against GP company database if your subdivision 1001 balance is accurate

Your SQL developers can go ahead, use this scripts as a basic and advance them to reflect more complex logic

Andrew Karasev, Alba Spectrum Group, http://www.albaspectrum.com help@albaspectrum.com 1-866-528-0577, 1-630-961-5918, serving GP clientele locally in Chicago and Houston plus USA and Canada Nationwide via remote support: San Francisco, Los Angeles, New Orleans, Miami, Orlando, Phoenix, Dallas, New York, Denver, Seattle, Minneapolis, Montreal, Toronto, Vancouver, Atlanta, San Diego



Contact author of this article:
web: http://www.albaspectrum.com
E-Mail: Contact author
 

Comments




Write comment
Heading Name
Your comment (max. 400 chars)
captchas

Enter the above code.
Social Bookmarking
Bookmark bei: Mr. Wong Bookmark bei: Webnews Bookmark bei: Folkd Bookmark bei: Yigg Bookmark bei: Digg Bookmark bei: Reddit Bookmark bei: Simpy Bookmark bei: Slashdot Bookmark bei: Netscape Bookmark bei: Google Bookmark bei: Blinklist Bookmark bei: Diigo Bookmark bei: Newsvine Bookmark bei: Ma.Gnolia Bookmark bei: Netvouz

zurück zur Kategorieseite: Computers / Software
This article was read 690 times


 
 

Pressreleases by authors
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z