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.
cheapest limo Akin .. Lockport Chicago limo O’HareMicrosoft bought Navision, Denmark based software development company, along with... Read More
Let us give you - developer some hints in the... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
In today's business world it's all but impossible to escape... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
We all already got used to computer monitoring both at... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
Microsoft Business Solutions Great Plains was designed back in the... Read More
Buying accounting software is a major investment. It's an important... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
FTP stands for "file transfer protocol". FTP is basically a... Read More
Microsoft Great Plains, former Great Plains Software Dynamics, eEnterprise has... Read More
Are you one of those people that keeps track of... Read More
The major reason I recommend getting your hands on real... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
Adobe Photoshop is one of the world's leading graphics editing... Read More
Scrapbooks are very popular these days. I think that almost... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
It's no secret that software companies operate in a very... Read More
Aledo wedding limo ..Midsize business or non-profit organization should decide if one-vendor solution... Read More
Which Type of Shop Can Rely On A Home Built... Read More
IntroductionPHP can be used for a lot of different things,... Read More
Spyware is like the new technological nuclear weapon on the... Read More
User interfaces and accessibility are some of the most important... Read More
Having from five to ten and more favorite screensavers is... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
All of us know that Microsoft bought former Great Plains... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Just stress testing one of the latest Linux distributions. Been... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS... Read More
Sales are all about leverage, because there is only so... Read More
Well, even if the combination might look very unusual, we... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
In the previous ISDN article, we looked at how and... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Each Industry and market niche has business specific and unique... Read More
Pirated software is on the increase and now accounts for... Read More
Navision Software was purchased by Microsoft and now it is... Read More
Although statistics often is blamed for various deadly sins --... Read More
When Windows fails to boot it is normally caused by... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
Software |