Great,Plains,Integration,Manag computer Great Plains Integration Manager: working with Advanced ODBC
Gone are those times when the companies and the organisations didn't need a hi-tech system to handle them. Owing to the considerable increase in the business sector and thus, an enormous increase in the complexity of the organisational struc ----------------------------------------------------------Permission is granted for the below article to forward,reprint, distribute, use for ezine, newsletter, website,offer as free bonus or part of a product for sale as longas no changes a
However, very often you are in the situation when you can not control the incoming text file and have to massage it in the query. In order to achieve this goal, you need to deploy Advanced ODBC queries. Good example is when you are importing customer invoices and some of them might be negative, and in this case you need to treat them either as Sales Order Processing Returns or Receivable Management Credit Memos. Lets review the steps and highlights:1. Create ODBC DSN. Lets assume that you got export in comma separated values (CSV) format. Open control panel, administrative tools, ODBC, select System tab, Microsoft Text driver, uncheck Use Current Directory, select the directory where text file is located, switch type to CSV and if you have column names in the first row, then save and close the DSN. Sometimes on this step you are getting error message, locking you from saving first row column names if this happens to you just work with generic enumerated columns2. Create Advanced ODBC query in IM. Here you should appeal to SQL select, group, union and having clauses. Implementing the example from the header in order to filter out all the credit memos, please place the conditions on negative document amount. Please, not that in the case of having invoice lines in the source negative document amount might be calculated in group by statement check the conditions on having sum(amount) less than zero3. If SQL Query over the text file is too complex. In this case, consider creating SQL Server DTS package, which will move text file into SQL staging table and process it through one or several SQLL stored procedures to massage data to fit integration requirements. When you are ready with the data table in SQL Server, base your advanced ODBC query on SQL view4. Beyond Integration Manager. If you need real time online integration, and if you are on Great Plains version 9.0, 10.0 or newer, consider programming integration routine in eConnect. eConnect allows you to create GP objects from your eCommerce application
Great,Plains,Integration,Manag