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.
![]() |
|
![]() |
|
![]() |
|
![]() |
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Cyberspace has opened up a new frontier with exciting possibilities... Read More
It would be easy to think, like most people apparently... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Just imagine: you are walking, say, towards your car, and... Read More
The objective for Zandi Digital is to make available clever... Read More
Crystal Reports is the most flexible tool on the market... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
Costs of fleet maintenance software can vary widely. It is... Read More
In the new era of internet marketing the problem of... Read More
We all take the computer for granted. I mean, all... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
If there still are few unprotected computers left, I haven't... Read More
DBxtra goes ASPGetting to the information hidden within corporate databases... Read More
The intuitive algorithm.Roger Penrose considered it impossible. Thinking could never... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
CD and DVD replication is a process that works by... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
Some companies that are in need of fleet management may... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
I have always regretted how Microsoft price gouges and rips... Read More
IntroductionPHP can be used for a lot of different things,... Read More
The purpose of Project Management Software is to provide an... Read More
If your company has regional and worldwide operations, you might... Read More
(1) Avoid using the same variable again and again for... Read More
First we had the original Google search that evolved into... Read More
Following tips help you to learn a software in lesser... Read More
Fleet Maintenance Management is a critical position in any company... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Pirated software is on the increase and now accounts for... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
Microsoft Business Solutions Great Plains is mid and even corporate... Read More
In the new era of internet marketing the problem of... Read More
Whether you are an experienced web programmer or a complete... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
Today's business world is fast-paced. No matter what it is... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
(1) Avoid using the same variable again and again for... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
After almost two decades of existence, Quark has become the... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
In order to implement VLANs in a network environment, you'll... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
The cornerstone of successful automated office systems is the ability... Read More
If you've been using MySQL database to store your important... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
The fact that a software tester is a most infamous... Read More
The US House of Representatives has recently passed the "Spy... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
Your computer cost you from hundreds to thousands of dollars,... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
I've been active in the Cisco Certification track for four... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
Not every software testing project can or should be automated.... Read More
Software |