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

Your Hard Disk Failed... Don't Panic !

Written by Emanuele Allenti


Inability to access your data stored onrepparttar data storage device could be caused by many reasons, from those that are easy to fix to those which are completely impossible to fix. Ifrepparttar 107644 damage is irreversible then data loss will occur. The causes ofrepparttar 107645 failure of your hard drive or CD-ROM drive could vary from a bad connection due to a loose wire (which is easily recoverable) to damage torepparttar 107646 media itself, which could still be recoverable in many cases.

As inrepparttar 107647 medical profession,repparttar 107648 first principle of data recovery is: "do not harm".

If you are facing a data loss situation, what not to do is very important!

- Do not power up a device that has obvious physical damage.

- Do not power up a device that has shown symptoms of physical failure. For example, disks that make "obvious mechanical fault noises" such as ticking or grinding, should not be repeatedly powered on and tested as it just makes them worse.

- Activaterepparttar 107649 write-protect switch or tab on any problem removable media such as tape cartridges and floppies. (Many good backups are overwritten during a crisis.)

- Do not use free software. This is very important. Free data recovery software can be extremely dangerous and ruin your chances for a successful data recovery. Many companies offer free data recovery software -- also called Do-It-Yourself (DIY) data recovery software -- available for download on their website. Evenrepparttar 107650 best programs only work in very specific situations. While these free tools that are available may help, they usually only help if you are encountering one of a very few specific data loss situations. Some programs may cause further or permanent data loss. While these programs are provided with good intention, even when carefully used these utilities may cause recoverable data to be permanently lost and may causerepparttar 107651 loss of additional data.

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