Microsoft Business Solutions main middle market ERP application - Microsoft Great Plains has multiple integration options: MS SQL Scripting (stored procedures and views), ADO.Net programming, Microsoft SQL Server DTS packages. You certainly can deploy such SDK tools as eConnect. However here we would like to show you how to program the simplest user friendly tool: Microsoft Great Plains Integration Manager. Multiple times in our consulting practice we saw the need to integrate General Ledger transactions from one text file and here we give you this and even more complex case, when credit and debit amounts are present on the same line with their own account numbers. Let's assume that we have tab delimited text file, GLSOURCE.txt. Here is how the line looks:
"11242004" (date) "11020016000" (debit account) 212446.68 (debit amount) "15260005400" (credit account) 212446.68 (credit amount)
Pretty challenging, isn't it?
Let's begin
First of all and this is probably easy ? you need ODBC DSN, use Microsoft Text Driver, change default directory, select the file and switch to tab delimited type.
Next, open Microsoft Great Plains Integration Manager and create two new queries ? one will be for the Header and the second for distribution lines in GL transaction. In both cases use Advanced ODBC type of text queries.
GL Header should aggregate by date, so in its SQL window enter this:
select F1 from GLSOURCE.txt group by F1
Now the lines ? here we need unionizing and checking if amount is not zero:
select F1, F2, F3, 0 from GLSOURCE.txt where F3'' union select F1 F4, 0,F5 from GLSOURCE.txt where F5''
The one above is the most difficult part of this article. Please understand it ? we are splitting line into two by union, first we create debit part and then we attach credit part, plus we are weeding out 0 amounts.
Next ? we need to link two queries ? simply link them by F1 field (date). Do it in query relationship. When you are done with linking, right click on the arrow, open properties and in Select Relationship Type window change to:
There can be 0 or more records in the child for each record in the master.
This is important ? we'll have more than one line in GL distribution.
The rest should be familiar for IM consultant.
Select destination as GL Journal, assign transaction date and batch ID as F1 from Header query, switch to entries and select them from debit and credit parts of the lines query.
As additional tools in filtering your text query you could use VBA scripting and even translation.
Translation is the way to go when you need to replace account numbers from the text file with different or translated accounts in Great Plains.
Happy integrating! if you want us to do the job - give us a call 1-630-961-5918 or 1-866-528-0577! help@albaspectrum.com
Andrew Karasev is Chief Technology Officer in Alba Spectrum Technologies ? USA nationwide Great Plains, Microsoft CRM customization company, serving Chicago, California, Colorado, Arizona, New York, Texas, Florida, Georgia, Canada, UK, Russia, Europe and Australia and having locations in multiple states and internationally ( http://www.albaspectrum.com ), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.
![]() |
|
![]() |
|
![]() |
|
![]() |
I have always regretted how Microsoft price gouges and rips... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Microsoft Business Solutions CRM is now approaching the phase of... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
#5 All your hardware components like Printers, PCs etc come... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Are you lost in the mess of documents that get... Read More
Microsoft CRM is new player on the CRM software... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Our hosted solution allow you to run your own search... Read More
Just the thought of a duel-boot scares many people away,... Read More
When it comes to screenplay software each screenwriter needs to... Read More
Programming Help for BeginnersWe write programs to instruct computers. When... Read More
Homeland security, airport security, Internet security â?" these days weâ??re... Read More
Java has come along a long way. Many would agree... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
This article will not attempt to advocate the use of... Read More
Remember back in the days where screensavers were the coolest... Read More
If you have Microsoft Great Plains and support it... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
Whether you have used Microsoft Word for years, have just... Read More
Learning how to program software seems like a daunting task... Read More
In order to meet regulatory and corporate compliance requirements reporting... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
Microsoft Business Solutions Great Plains has full-featured manufacturing set of... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
We've all seen the ads on TV for Netzero 3G.... Read More
Enabling Chinese input is quick and easy, there are only... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
There are two major WYSIWYG(What You See Is What You... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
Here is some free software tools to help you build... Read More
One of the main reasons business owners and entrepreneurs use... Read More
Microsoft Business Solutions Great Plains was designed back in the... Read More
Microsoft Business Solutions Great Plains has I'd say end user... Read More
This article will not attempt to advocate the use of... Read More
Imagine something that follows you home and sets itself up... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
Are you a whiz at calculating financial information? Not the... Read More
Microsoft CRM is new player on the CRM software... Read More
We live in a post-industrial age where information is the... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
With so many Microsoft Windows related viruses, errors, and other... Read More
Usually workflow & messaging is realized in CRM and then... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
SOFTWARE PIRACY We regularly hear reports... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
We were recently faced with a decision: either to let... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
In today's business world it's all but impossible to escape... Read More
If you have Microsoft Great Plains and support it for... Read More
Have you noticed WordPerfect is gearing up for a comeback... Read More
... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
The objective for Zandi Digital is to make available clever... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Microsoft Great Plains fits to majority of horizontals and retail... Read More
Intro This concise article will tell you in plain English... Read More
Software Engineering is the Systematic Approach for analysis design implementation... Read More
Software |