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.
scheduled maid service Northbrook ..It won't matter how effective your WinRunner Team is if... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Microsoft Business Solutions CRM is now approaching the phase of... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software eEnterprise,... Read More
The intentions of this short tutorial are not to teach... Read More
Microsoft Business Solutions Great Plains is Dexterity-written application and currently... Read More
If you are software developer or database administrator - we... Read More
When it comes to screenplay software each screenwriter needs to... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Whether you need to close a sale, gather end-user feedback,... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
We would like to give you several situations, when you... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
The adware and spyware definitions list is very long. But... Read More
This article will not attempt to advocate the use of... Read More
Sometimes your PC will start acting strange for no apparent... Read More
As we could imagine, if you are reading this article... Read More
The US House of Representatives has recently passed the "Spy... Read More
Most people understand that the "hardware" part of their computer... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
In this small article we will show you the possible... Read More
reliable maid service Highland Park ..What is installation in the language of technology? Installation... Read More
The major reason I recommend getting your hands on real... Read More
There are several kinds of software piracy. The bottom line... Read More
I provide, here clear explanations and a count of function... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
We are in a transition phase in the Managerial Administration... Read More
Using professional icons in your application or website can bring... Read More
During the years of our consulting practice, which comes back... Read More
If you company is small or mid-size special products or... Read More
At the end of XX century, in the late 1990th... Read More
1. What determines the software price? Is it Per Seat... Read More
Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
Microsoft Retail Management System serves retail single store as well... Read More
It would be easy to think, like most people apparently... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
Accounts payable is just one area of office management where... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Software |