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 provide, here clear explanations and a count of function... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Here is some free software tools to help you build... Read More
Stealing company information used to be the specialty of spies... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Hi, Guys,I believe a lot of programmers are trying to... Read More
If you have Microsoft Great Plains and support it for... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
While I was preparing some personal background information for a... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
The title of "software engineer" has got to be among... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
In this short FAQ style article we would like to... Read More
If you are in a business that passes documents around... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
If you are in the market for new staffing software,... Read More
A wiki is an editable text-based website. But you don't... Read More
There are so many different programs that clutter up your... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software eEnterprise,... Read More
In this article you will find some background information about... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
Have you ever noticed that when you look at your... Read More
In the real world a "fire wall" is a fireproof... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Software development is a risky business.Many software developers are barely... Read More
Before being able to choose a secure Internet communication system,... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
Mike Dunville* had a decision to make. As the new... Read More
It is really interesting that a bug can create problem... Read More
So let's begin crunching down these 300 images using Adobe... Read More
So, you've bought a new Macintosh, and now you may... Read More
The purpose of one of our projects was MS Exchange... Read More
In linux, one of great commands for finding out information... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
What is IRC?IRC is Internet Relay Chat. It is a... Read More
While paper labeling CDs and DVDs may appear to be... Read More
It would be easy to think, like most people apparently... Read More
Pirated software is on the increase and now accounts for... Read More
User interfaces and accessibility are some of the most important... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
In the real world a "fire wall" is a fireproof... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
The most important things you can do for your computer... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Around the same time Microsoft made its move with .Net... Read More
If you feel intimidated when someone tries to teach you... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
There are certain pluses and minuses in both cases and... Read More
Some companies that are in need of fleet management may... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Scrapbooks are very popular these days. I think that almost... Read More
Software |