GPWindow is Everything Dynamics GP. Try the Custom GP Search engine which searches high quality GP Blogs, and the Microsoft Dynamics GP Community Forums.
A client recently told me they were very confused by the table naming conventions for Dynamics GP. I’m so used to those legacy table names that I don’t appreciate what a wonder it must be for a new user trying to write reports.
In fact, any class I train that involves pulling data from tables (Extender, SmartList Builder, Excel ReportBuilder, ListBuilder, Report Writer, SSRS, Crystal Reports, etc.) sooner or later results in the question “How do we know which table to use”. This query spawned the on-line class I will be doing for GPUG Thursday http://www.gpug.com/events/GPAcademyGPData070810 entitled “Finding the GP Data you Need”
What do the table names mean?
There is actually a very good naming convention for Dynamics GP data tables. This is only a convention, however. It is followed by the GP programmers pretty diligently, but not so much by some 3rd party programmers. Here’s the basics, the first 2 or 3 characters will indicate the module name, the numbers indicate the type of table.
The modules (prefix)
Some of the more popular module abbreviations are in the table below.
| Prefix | Module |
| GL | General Ledger |
| AF | Advanced Financial Analysis |
| PM | Payables Management |
| RM | Receivables Management |
| SOP | Sales Order Processing |
| POP | Purchase Order Processing |
| IV | Inventory |
| IVC | Invoicing (NOT SOP) |
| UPR | US… |
New developers getting started with writing reports or developing applications often ask - "Do you have a document which explains the table structure of Dynamics?".
We end up providing either the huge documentation or pointing them to the table descriptions inside Great Plains.
Table Descriptions inside GP. (Tools > Resource Descriptions)
Often IT guys hoping to build a quick report are overwhelmed and- end up…
| Setup | PP_Prepayment_SETUP | PP000001 |
| GL Batch Info | PP_GL_Batch_Info | PP000002 |
| Profiles Header | PP_Profiles_HDR | PP000010 |
| Profiles Header WORK | PP_Profiles_HDR_WORK | PP000011 |
| Profiles Header History | PP_Profiles_HDR_HIST | PP000012 |
| Profile Distribution Type | PP_Profile_Distribution_Type | P… |
This post describes how to read the On-Line Field Description Tables (OLFD001.dat & OLFD002.dat) using the c-tree ODBC driver. It is the tool I have used forever to put the table and window names in a spreadsheet for easier access.
Dynamics GP v 7.5 and prior supported three databases. Pervasive SQL 2000 (Btrieve), FairCom’s c-tree Plus and MS-SQL. Dexterity still supports these formats. If you search the GP folder, you will find a few tables with the extensions .dat and .idx. These are c-tree tables. Although there are others, I’d like to focus on the On-Line Field Description tables. When you navigate to Microsoft Dynamics GP > Tools > Resource Descriptions > Tables, you are reading those files. While you can, of course, access these tables using Dexterity, you can also read them with an ODBC driver.
The c-tree ODBC Driver
GP used to sell a read-only ODBC driver for c-tree files. I think it was about $300 per workstation. They do not sell it anymore, but you can get it from FairCom http://www.faircom.com/ace/ctpodbc_information_t.php.
If you still have your CDs from version 6 of Great Plains…