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.
Beecher limo rentals ..Cyberspace has opened up a new frontier with exciting possibilities... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
If you feel intimidated when someone tries to teach you... Read More
I've been active in the Cisco Certification track for four... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
When you double-click a layer in the Layer Palette, you... Read More
Spyware, what it is and what it does. Basically, spyware... Read More
There are many commands that are used in linux on... Read More
It's not very often I get excited about a software... Read More
Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
The Internet is reshaping every form of communications medium, and... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
NOTE: Please take time to read on - it may... Read More
Accounts payable is just one area of office management where... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
When Windows fails to boot it is normally caused by... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
We would like to give you pluses and minuses of... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Bridgeview limo Chicago ..Microsoft Business Solutions CRM is present several years on the... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
Homeland security, airport security, Internet security ??" these days we???re... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Remember old good days when your company probably had Great... Read More
A few months back I really got sick of my... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
Before being able to choose a secure Internet communication system,... Read More
When you first think about multicurrency ? you probably have... Read More
If you've been using MySQL database to store your important... Read More
How would you like to prevent spyware and adware from... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
Here is some free software tools to help you build... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
And kill the best layout software in the process of... Read More
While I was preparing some personal background information for a... Read More
How many steps does it take you to locate and... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
Scrapbooks are very popular these days. I think that almost... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
You've finally created databases that you can actually use to... Read More
Fundraising software lets you connect with donors in a way... Read More
We are in a transition phase in the Managerial Administration... Read More
Sometimes your PC will start acting strange for no apparent... Read More
Software |