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.
cleaning help near Glenview ...When you double-click a layer in the Layer Palette, you... Read More
Microsoft Business Solutions CRM is now approaching the phase of... Read More
Have you ever noticed that when you look at your... Read More
Sometimes your PC will start acting strange for no apparent... Read More
To all web designers out there, this article is for... Read More
Background: For many organizations like ours, the interim target of... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
DBxtra goes ASPGetting to the information hidden within corporate databases... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
The Internet is reshaping every form of communications medium, and... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Imagine something that follows you home and sets itself up... Read More
Although statistics often is blamed for various deadly sins --... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
It could just be me, but my experiences with document... Read More
When you visit department stores and see that majority of... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
CD and DVD replication is a process that works by... Read More
... Read More
In this article you will find some background information about... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
experienced cleaning professionals Mundelein ...After seeing many people complain about their weak Internet security... Read More
Fleet Maintenance Management is a critical position in any company... Read More
Finding the best spyware removers to detect and remove spyware... Read More
There are certain pluses and minuses in both cases and... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
I like my software simple. If it's too complex or... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
A UNIX Shell is in simplest terms, a command line... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
We were recently faced with a decision: either to let... Read More
ERP Consulting industry is on the way to serve clients... Read More
Since Version 8.0 Microsoft Business Solutions Great Plains & Great... Read More
Once a business idea is selected, it is highly recommended... Read More
Whether you are an experienced web programmer or a complete... Read More
A wiki is an editable text-based website. But you don't... Read More
Accounts payable is just one area of office management where... Read More
When you think... Read More
IBM Lotus Notes with Domino email server is traditional document... Read More
Today's business world is fast-paced. No matter what it is... Read More
If you are in the market for new staffing software,... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
The java programming language is becoming more and more popular... Read More
The US House of Representatives has recently passed the "Spy... Read More
I have always had a tendency to focus on the... Read More
Software |