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.
bmw rental chicago Bath .. Lockport Chicago limo O’HareLet's first look at your ERP system selection (without Retail... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Not all of us have the luxury of working both... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
Microsoft Great Plains fits to majority of industries, in the... Read More
This is a short article, written in question/answer/FAQ style to... Read More
If you have Microsoft Great Plains as main accounting and... Read More
When it comes to screenplay software each screenwriter needs to... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
It is now common thing when large corporation selects mid-market... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
In order to meet regulatory and corporate compliance requirements reporting... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
The US House of Representatives has recently passed the "Spy... Read More
If you have been using the Internet for any amount... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Best Software Act! is very popular CRM for small and... Read More
Viruses and spyware usually show up on your computer one... Read More
We live in a post-industrial age where information is the... Read More
When reading an article where some term is used often,... Read More
limousine service Ava ..When making a decision to buy any piece of software... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
Although statistics often is blamed for various deadly sins --... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
What is RAID RECOVERY?RAID stands for Redundant Array of Inexpensive... Read More
If you are in a business that passes documents around... Read More
Designing without tables by using CSS layouts is fast becoming... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
If you would like to pick something from Microsoft, or... Read More
If you company is small or mid-size special products or... Read More
The major reason I recommend getting your hands on real... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
Words we choose to describe things and phenomena often show... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
This article illustrates the best practices to improve the performance... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
The title of "software engineer" has got to be among... Read More
Software |