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.
express cleaning service Mundelein ...Every day millions of new web documents emerge on the... Read More
While Adobe is the most known maker of PDF tools,... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
Software development is a risky business.Many software developers are barely... Read More
I have yet to see a business that, sometimes in... Read More
The major reason I recommend getting your hands on real... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
XML Server can be a Web Server that stores the... Read More
So, you've bought a new Macintosh, and now you may... Read More
Think of this, first we had the HAM Radio, then... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
The first topic we are going to discuss... Read More
The Internet is reshaping every form of communications medium, and... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
Mike Dunville* had a decision to make. As the new... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
As we could imagine, if you are reading this article... Read More
Considering whether or not your software company should hire a... Read More
It could just be me, but my experiences with document... Read More
In a previous article, I wrote about OpenOffice... Read More
recurring housekeeping Wilmette ...Microsoft Great Plains and Microsoft CRM become more and more... Read More
.Net Framework is a platform or development environment to seamlessly... Read More
This is a short article, written in question/answer/FAQ style to... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
I like my software simple. If it's too complex or... Read More
And kill the best layout software in the process of... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
This article is the third of a series of articles... Read More
I provide, here clear explanations and a count of function... Read More
Using professional icons in your application or website can bring... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
We've all seen the ads on TV for Netzero 3G.... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
It is possible that if one avoided all sources of... Read More
Bill of Lading is required report for Logistics and Freight... Read More
The Windows Indexing Service provides you with the ability to... Read More
Software |