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.
move in cleaning service Mundelein ..The vast majority of us will have, at some point,... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
Just the thought of a duel-boot scares many people away,... Read More
In this article you will find some background information about... Read More
The research in the field of Natural Language Processing usually... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
I've been active in the Cisco Certification track for four... Read More
An integral part of any quality CRM system is lead... Read More
Background: For many organizations like ours, the interim target of... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
How would you like to prevent spyware and adware from... Read More
The objective for Zandi Digital is to make available clever... Read More
All of us know that Microsoft bought former Great Plains... Read More
How do you run a program on a remote server... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
Software Engineering is the Systematic Approach for analysis design implementation... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
insured cleaning company Highland Park ..Sometimes your PC will start acting strange for no apparent... Read More
How do you run a program on a remote server... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
... Read More
I provide, here clear explanations and a count of function... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
Beginning with Domino version R4 it has integration with the... Read More
An integral part of any quality CRM system is lead... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
The fact that a software tester is a most infamous... Read More
Microsoft Business Solutions CRM proved to be reliable solution in... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
In this small article we will be looking at the... Read More
Introduction: The creating of a computer program involves a number... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
The vast majority of us will have, at some point,... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
Spyware is software or hardware installed on a computer without... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
Software |