Software Information



Articles Main Page | Main Site Home Page





Text Ad's by TextAdPro.com
Make Money For Real doing nothing - 3 ways to profit - EZmatic.com.

ThatsNeato.com - That's Neato!

Home Business Money Making - How to make money on the net.

2coolhair.com - Over 5,000 Hairstyles Pitcures.



EDI: Electronic Document Interchange for Microsoft Great Plains - Overview for Software Developer/Pr


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 of the cases appears in the form of Header, Lines and Trailer of predefined fixed position fields.

We would like to give you - programmer, software developer, database administrator the primary clues on producing EDI formatted text from Microsoft Great Plains database. Please, note however that Great Plains here is taken as the 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. In the 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 make the result fixed length and meet the positioning. Plus the 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

--Additional fields go here

from SOP10100 a join SOP10200 b on a.SOPTYPE=b.SOPTYPE and a.SOPNUMBE=b.SOPNUMBE join

RM00101 d on a.CUSTNMBR=d.CUSTNMBR

join

(select SOPTYPE as SOPTYPE, SOPNUMBE as SOPNUMBE,

LNITMSEQ

as LNITMSEQ,

CMPNTSEQ

as CMPNTSEQ from SOP10200

union

select SOPTYPE as SOPTYPE, SOPNUMBE as SOPNUMBE, MIN(LNITMSEQ)-1 as LNITMSEQ, MIN(CMPNTSEQ)-1 as CMPNTSEQ from SOP10200

group by SOPTYPE, SOPNUMBE

) c on a.SOPTYPE=c.SOPTYPE and a.SOPNUMBE=c.SOPNUMBE

and ((b.LNITMSEQ=c.LNITMSEQ and b.CMPNTSEQ=c.CMPNTSEQ) or (b.LNITMSEQ=c.LNITMSEQ+1 and b.CMPNTSEQ=c.CMPNTSEQ+1))

left join SOP10106 udf on a.SOPTYPE=udf.SOPTYPE and a.SOPNUMBE=udf.SOPNUMBE

where a.ADDRESS3'Exported' and

a.SOPTYPE=3 and upper(d.USERDEF2)='YES'

order by a.SOPTYPE, a.SOPNUMBE, b.LNITMSEQ asc

2. Mark processed documents - for this reason we use SOP10100.ADDRESS3 field - which was not used in Great Plains Dynamics/eEnterprise version 6.0:

update SOP10100 set ADDRESS3='Exported' where SOPTYPE=3

3. Communication with UNIX EDI Client or Server - each case requires individual approach. You may have to assign the file directory, exposed to the UNIX system or use old DOS command to move the file, or you can have automatic email. Good idea is to write communication application in your favorite programming language

4. Scheduled DTS Package - you should probably create DTS package to do all the steps: call SQL Query and save it as a file, then call DOS command or simple EXE application - which does communicate with UNIX

Happy programming! if you want us to do the job - give us a call 1-866-528-0577! help@albaspectrum.com

About The Author

Andrew Karasev is Chief Technology Officer in Alba Spectrum Technologies - USA nationwide Great Plains, Microsoft CRM customization company, based in Chicago, California, Colorado, Arizona, New York, Texas, Florida, Georgia and having locations in multiple states and internationally (www.albaspectrum.com), he is Dexterity, Transact SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer; akarasev@albaspectrum.com


MORE RESOURCES:
table border=0 width= valign=top cellpadding=2 cellspacing=7trtd width=80 align=center valign=topfont style=font-size:85%;font-family:arial,sans-serifa href=http://news.google.com/news/url?sa=Tct=us/0i-0fd=Rurl=http://www.canada.com/topics/technology/news/gizmos/story.html%3Fid%3Dacb3b045-9d46-4f3b-aa25-5447dd34d5b6cid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNG7h48nX0oIDVv5-QTybNsXHx1p0gimg src=http://news.google.com/news?imgefp=2UkyZbz6Tp0Jimgurl=a123.g.akamai.net/f/123/12465/1d/media.canada.com/reuters/olustech_iptc/2008-10-28t011803z_01_btre49r03ot00_rtroptp_2_tech-us-china-microsoft.jpg%3Fsize%3Dl width=80 height=80 alt= border=1brfont size=-2Canada.com/font/a/font/tdtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/0-0fd=Rurl=http://www.reuters.com/article/technologyNews/idUSTRE4AI7T420081119cid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNEN2rm1ZCawilpFQfDZFXw4TPB9qgMicrosoft: New bsoftware/b not Symantec, McAfee rival/abrfont size=-1font color=#6f6f6fReutersnbsp;-/font nobrNov 19, 2008/nobr/fontbrfont size=-1BOSTON (Reuters) - Microsoft Corp#39;s upcoming security bsoftware/b is not designed to take sales from Symantec Corp and McAfee Inc as it is a stripped-down, b.../b/fontbrfont size=-1a href=http://news.google.com/news/url?sa=Tct=us/0-1fd=Rurl=http://education.zdnet.com/%3Fp%3D1965cid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNGWvccMuiK3h_Mp0NJE_tic8qORLAI really don’t want to use Windows anymore/a font size=-1 color=#6f6f6fnobrZDNet/nobr/font/fontbrfont size=-1a href=http://news.google.com/news/url?sa=Tct=us/0-2fd=Rurl=http://www.allheadlinenews.com/articles/7013120895cid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNE3HkG0XBywXtuwA100tRK8rrzEJQMicrosoft To Stop Paid PC Security Service, Offers Free Anti-Virus b.../b/a font size=-1 color=#6f6f6fnobrAHN/nobr/font/fontbrfont size=-1a href=http://news.google.com/news/url?sa=Tct=us/0-3fd=Rurl=http://www.networkworld.com/news/2008/111808-microsoft-drops-onecare-antivirus.html%3Ft51hbcid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNErfxsGPfanigUtXLvzW0alshJUfQMicrosoft to offer free security bsoftware/b/a font size=-1 color=#6f6f6fnobrNetworkWorld.com/nobr/font/fontbrfont size=-1 class=pa href=http://news.google.com/news/url?sa=Tct=us/0-4fd=Rurl=http://www.bizjournals.com/sanjose/stories/2008/11/17/daily43.htmlcid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNHj3ssjRgiZlHngZSgg9bATTZtclAnobrBizjournals.com/nobr/anbsp;- a href=http://news.google.com/news/url?sa=Tct=us/0-5fd=Rurl=http://www.internetnews.com/software/article.php/3786246/Microsoft%2BOffers%2BFree%2BSecurity%2BPulls%2BLive%2BOneCare.htmcid=1272030386ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNH3ZAcq8sIyEcx54kT-Q75NGUYqYgnobrInternetNews.com/nobr/a/fontbr/font class=p size=-1a class=p href=http://news.google.com/news?sourceid=navclientie=ISO-8859-1rls=GGLG,GGLG:2005-22,GGLG:enncl=1272030386hl=ennobrall 286 news articles/nobr/a/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/1-0fd=Rurl=http://www.marketwatch.com/news/story/American-Software-Inc-Invites-You/story.aspx%3Fguid%3D%257B3B268B55-50D6-4DDF-89D4-2D9832A1DC01%257Dcid=1272655668ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNEruvzCJ3xe7wOaCL_IP8VIXlKvhAAmerican bSoftware/b, Inc. Invites You to Join Its Second Quarter b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr1 hour ago/nobr/fontbrfont size=-1Headquartered in Atlanta, American bSoftware/b develops, markets and supports one of the industry#39;s most comprehensive offerings of integrated business b.../b/fontbrfont size=-1a href=http://news.google.com/news/url?sa=Tct=us/1-1fd=Rurl=http://www.earthtimes.org/articles/show/american-software-inc-invites-you,631790.shtmlcid=1272655668ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNEZiGX_9Rb85WwZHQqiWFRAaThvLAAmerican bSoftware/b, Inc. Invites You to Join Its Second Quarter b.../b/a font size=-1 color=#6f6f6fnobrEarthtimes (press release)/nobr/font/fontbrfont class=p size=-1a class=p href=http://news.google.com/news?sourceid=navclientie=ISO-8859-1rls=GGLG,GGLG:2005-22,GGLG:enncl=1272655668hl=ennobrall 11 news articles/nobr/a/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/2-0fd=Rurl=http://www.marketwatch.com/news/story/New-Edition-Email-Newsletter-Software/story.aspx%3Fguid%3D%257B16B0A5AA-8DCE-46BE-85A2-0F9D0E7D78F8%257Dcid=1272548563ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNEPo3GkrZWwfDuujHbE_oFIlg5-DANew Edition of Email Newsletter bSoftware/b Delivers Improved Email b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr8 hours ago/nobr/fontbrfont size=-1TUCSON, Ariz., Nov 20, 2008 /PRNewswire via COMTEX/ -- Email Marketing Director, the flagship consumer email newsletter bsoftware/b from industry veteran Arial b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/3-0fd=Rurl=http://www.marketwatch.com/news/story/HighJump-Software-Helps-Customers-Do/story.aspx%3Fguid%3D%257BD8CB0063-F803-44CA-B8BE-7C6379355DBB%257Dcid=1272572768ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNGZcTQLUBgKP51uT_IVix9rMv2SgAHighJump bSoftware/b Helps Customers Do More in Less Time With New b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr6 hours ago/nobr/fontbrfont size=-1Not only does this capability allow HighJump bSoftware/b customers with international operations to more easily set up new locations, but also simplifies b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/4-0fd=Rurl=http://www.marketwatch.com/news/story/Intrinsyc-Software-International-Inc-Leading/story.aspx%3Fguid%3D%257B0E88B10F-7273-45B8-9EB5-A0032F73EA4A%257Dcid=1272557160ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNGOSzRAAKnO8PbZ8NrH2cvx6nQEjQIntrinsyc bSoftware/b International, Inc.: Leading Device Maker b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr8 hours ago/nobr/fontbrfont size=-1Destinator navigation bsoftware/b sets new standards for driver safety, ease-of-use, rich content and user interface customization. b.../b/fontbrfont size=-1a href=http://news.google.com/news/url?sa=Tct=us/4-1fd=Rurl=http://www.trucknews.com/PressReleases/FullStory.asp%3FArticleID2%3D3464174cid=1272557160ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNFSaTXtd11mztEUOSTmlmzxxVA6LwAbout Intrinsyc bSoftware/b International, Inc./a font size=-1 color=#6f6f6fnobrTruck News/nobr/font/fontbrfont class=p size=-1a class=p href=http://news.google.com/news?sourceid=navclientie=ISO-8859-1rls=GGLG,GGLG:2005-22,GGLG:enncl=1272557160hl=ennobrall 23 news articles/nobr/a/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/5-0fd=Rurl=http://www.marketwatch.com/news/story/Turning-Technologies-TurningPointR-Student-Response/story.aspx%3Fguid%3D%257B60C2B4BD-4CB1-4E3A-8AC2-94BDD95925E7%257Dcid=1272572773ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNGfERS7TxckM4caVBwvx5lL4r3ISgTurning Technologies#39; TurningPoint(R) Student Response bSoftware/b b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr6 hours ago/nobr/fontbrfont size=-1Turning Technologies, LLC develops interactive response systems utilizing the latest bsoftware/b and hardware tools available and transforms them into state of b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/6-0fd=Rurl=http://www.marketwatch.com/news/story/DataCore-Software-Promise-Technology-Microsoft/story.aspx%3Fguid%3D%257BA5641E8C-9AA7-492E-A82C-EA28AFD08EFD%257Dcid=1272551140ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNHwM0urCv_y7w39x1rpRalnwXX8agDataCore bSoftware/b, Promise Technology and Microsoft Windows HPC at b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr8 hours ago/nobr/fontbrfont size=-1DataCore#39;s SANsymphony bsoftware/b addresses larger scale, heterogeneous storage virtualization needs through sophisticated I/O performance acceleration and b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/7-0fd=Rurl=http://www.marketwatch.com/news/story/Research-Markets-Software-a-Service/story.aspx%3Fguid%3D%257B33EE37B2-F481-4614-BE8A-37C43F597D49%257Dcid=1272605142ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNH0kUIHCD0-wabQtEieghKLT2M2gQResearch and Markets: bSoftware/b-as-a-Service in APAC - The Momentum b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr4 hours ago/nobr/fontbrfont size=-1bSoftware/b as a service (SaaS) has continued to consolidate its hold on the Asia Pacific (APAC) market. This is evidenced by the increasing number of large b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/8-0fd=Rurl=http://www.marketwatch.com/news/story/New-Accounting-Software-Enhancements-Recommended/story.aspx%3Fguid%3D%257B09ADAED7-C211-4B74-AB5B-68BBC789668F%257Dcid=1272525852ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNHP-DsntWsCvAwCD8EoqAyMJ5i5OQNew Accounting bSoftware/b Enhancements Recommended and Prioritized b.../b/abrfont size=-1font color=#6f6f6fMarketWatchnbsp;-/font nobr10 hours ago/nobr/fontbrfont size=-1PETALUMA, CA, Nov 20, 2008 (MARKET WIRE via COMTEX) -- This week AccountMate bSoftware/b Corporation shipped out their latest accounting bsoftware/b update, b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/9-0fd=Rurl=http://www.forbes.com/feeds/ap/2008/11/20/ap5723001.htmlcid=1272659370ei=gNglSZX6Fo3I9ASp3-29AQusg=AFQjCNFVtEYYIQhD1WgzyqLYce4pCXbHlwCheck Point bSoftware/b shares edge higher/abrfont size=-1font color=#6f6f6fForbes,nbsp;NYnbsp;-/font nobr55 minutes ago/nobr/fontbrfont size=-1AP , 11.20.08, 03:28 PM EST Shares of Check Point bSoftware/b Technologies Ltd. edged higher Thursday, helped by an analyst report predicting the Internet b.../b/font/div/font/td/tr/table

Software - Google News




Articles Home Page | Site Map | Main Site Home Page
GETsonic | TrafficFish | WildThingsDesigns | NeatoDomains.com | Games | Ken J Wagner | iNetcome

© 2008