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.
|
|
|
|
|
|
|
|
|
|
|


Microsoft CRM is new player on the CRM software... Read More
SOFTWARE PIRACY We regularly hear reports... Read More
COMMAND LINE FUNCTIONA powerful command line script processor has been... Read More
I have yet to see a business that, sometimes in... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
Great Plains Software Dynamics, Dynamics C/S+, eEnterprise were written on... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
Just when you thought you were Web savvy, one more... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
Now is the time to look at an alternative to... Read More
Are you a database professional? Do you work with a... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
All of us know that Microsoft bought former Great Plains... Read More
Three highly respected names in Human Resources have joined forces... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
A wiki is an editable text-based website. But you don't... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
It won't matter how effective your WinRunner Team is if... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
In this small article we will be looking at the... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
Spyware is like the new technological nuclear weapon on the... Read More


Anyone who has ever used Microsoft Word knows that it... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
What is Snort?Snort is an open source network intrusion detection... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
The purpose of one of our projects was MS Exchange... Read More
To all web designers out there, this article is for... Read More
Each Industry and market niche has business specific and unique... Read More
Buying accounting software is a major investment. It's an important... Read More
Manufacturing in the USA is far away down from mid... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
The research in the field of Natural Language Processing usually... Read More
SOFTWARE PIRACY We regularly hear reports... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Microsoft Business Solutions Great Plains fits to majority of horizontal... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Spyware is like the new technological nuclear weapon on the... Read More
Icons are used everywhere; right from software applications, to internet... Read More
In the new era of internet marketing the problem of... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
Since technology changes so quickly, it is hard to begin... Read More
With many manufacturing shops heading over seas in favor of... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Our hosted solution allow you to run your own search... Read More
If there still are few unprotected computers left, I haven't... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
Software |