Crystal Reports for Microsoft Great Plains – overview for developer

Written by Andrew Karasev


Looks like Microsoft Great Plains becomes more and more popular, partly because of Microsoft muscles behind it. Now it is targeted torepparttar whole spectrum of horizontal and vertical market clientele. Small companies use Small Business Manager (which is based onrepparttar 107646 same technology – Great Plains Dexterity dictionary and runtime), Great Plains Standard on MSDE is for small to midsize clients, and then Great Plains servesrepparttar 107647 rest ofrepparttar 107648 market up to big corporations. Crystal Reports onrepparttar 107649 other hand isrepparttar 107650 leader inrepparttar 107651 reporting software industry. If you are developer who is asked: how do we extend Great Plains ReportWriter with somewhat more sophisticated – read this and you will haverepparttar 107652 clues on where to look further. 1.Great Plains Tables Structure – first of all you need to knowrepparttar 107653 tables to link. Launch Great Plains and go to Tools->Resource Description->Tables. Findrepparttar 107654 table inrepparttar 107655 proper series. If you are looking forrepparttar 107656 customers – it should be RM00101 – customer master file. If you need historical Sales Order Processing documents – they are in SOP30200 – Sales History Header file, etc. 2.Create ODBC connection to GP Company database. Userepparttar 107657 same technique as when you create standard ODBC connection for GP workstation – but change default database to targeted company database.

EDI: Electronic Document Interchange for Microsoft Great Plains – overview for Software Developer/Programmer/DBA

Written by Andrew Karasev


Microsoft Great Plains - Microsoft Business Solutions accounting and ERP system, originally targeted to mid-size - now, with advancements and increasing reliability of its database - Microsoft SQL Server, Great Plains is attractive solution for large corporation. Big companies usually have purchasing and order processing automation via so-called Electronic Document Interchange or EDI. EDI was introduced long time ago for UNIX systems and in most ofrepparttar cases appears inrepparttar 107645 form of Header, Lines and Trailer of predefined fixed position fields. We would like to give you - programmer, software developer, database administratorrepparttar 107646 primary clues on producing EDI formatted text from Microsoft Great Plains database. Please, note however that Great Plains here is taken asrepparttar 107647 example, similar approach will work for other SQL based systems: Navision (SQL Database or C/SIDE database), Microsoft RMS, Solomon as well as Oracle and other non-Microsoft products. Inrepparttar 107648 case of non-SQL system, such as old Great Plains Dynamics, ACCPAC on Pervasive SQL - IDE interface will involve ADO/ODBC or Microsoft Access programming. 1. Sample Query – The query below uses CAST construction to makerepparttar 107649 result fixed length and meetrepparttar 107650 positioning. Plusrepparttar 107651 unionizing allows to produce Header and Detail in one select statement. Here we are dealing with work Sales Documents select case when b.LNITMSEQ=c.LNITMSEQ+1 and b.CMPNTSEQ=c.CMPNTSEQ+1 then CAST('Header' as char(10)) else CAST('Detail' as char(10)) end as FIELD0,

case when b.LNITMSEQ=c.LNITMSEQ+1 and b.CMPNTSEQ=c.CMPNTSEQ+1 then cast(a.CUSTNAME as char(65)) else cast(cast(b.QTYDMGED as decimal(19,5)) as char(65)) end as FIELD01,

case when b.LNITMSEQ=c.LNITMSEQ+1 and b.CMPNTSEQ=c.CMPNTSEQ+1 then CONVERT(char(51), a.DOCDATE, 101) else cast(b.ITEMDESC as char(51)) end as FIELD03

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use