<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Integration Engineer &#187; GS</title>
	<atom:link href="http://www.theintegrationengineer.com/category/edi/envelope-edi/gs-envelope-edi-edi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theintegrationengineer.com</link>
	<description>When it just has to work.</description>
	<lastBuildDate>Fri, 03 Feb 2012 00:21:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>EDI Enveloping Part Three (The GS)</title>
		<link>http://www.theintegrationengineer.com/edi-enveloping-part-three-the-gs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=edi-enveloping-part-three-the-gs</link>
		<comments>http://www.theintegrationengineer.com/edi-enveloping-part-three-the-gs/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 17:04:07 +0000</pubDate>
		<dc:creator>Roy</dc:creator>
				<category><![CDATA[b2b]]></category>
		<category><![CDATA[EDI]]></category>
		<category><![CDATA[GS]]></category>
		<category><![CDATA[Envelope]]></category>
		<category><![CDATA[Enveloping]]></category>

		<guid isPermaLink="false">http://www.theintegrationengineer.com/?p=47</guid>
		<description><![CDATA[What is the GS segment? The GS segment is the second mandatory enveloping segment.  It shares some properties with the ISA segment.  There is a sender and receiver, version Identifier, time stamp and control number.  But one thing that the GS has that the ISA does not is a Functional Identifier. That&#8217;s right, Functional.  This [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-48" title="scratch-head" src="http://www.theintegrationengineer.com/wp-content/uploads/2008/10/scratch-head.jpg" alt="scratch head EDI Enveloping Part Three (The GS)" width="105" height="78" /><strong>What is the GS segment?</strong></p>
<p>The GS segment is the second mandatory enveloping segment.  It shares some properties with the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">ISA segment</a>.  There is a sender and receiver, version Identifier, time stamp and control number.  But one thing that the GS has that the ISA does not is a Functional Identifier.</p>
<p>That&#8217;s right, Functional.  This means that within the GS envelope are only EDI messages or documents that have the same function.<span id="more-47"></span></p>
<p>Here is a GS segment:</p>
<p>GS*PO*901234572000*908887732000*081031*0835*1*T*004010!</p>
<p>Like all <a href="http://www.theintegrationengineer.com/edi-segments/">segments</a>, the first element is 0 and identifies the segment type.  This segment has a GS in this element, making it a GS segment.</p>
<p>Unlike the ISA segment, that does not change in any way from standard to standard, the GS may change a bit.</p>
<p>Here are the definitions of the GS segment for the 3020 X12 standard:</p>
<p><img class="aligncenter size-full wp-image-49" title="gs_elementdef_3020" src="http://www.theintegrationengineer.com/wp-content/uploads/2008/11/gs_elementdef_3020.jpg" alt="gs elementdef 3020 EDI Enveloping Part Three (The GS)" width="606" height="214" /></p>
<p>There are 8 elements.</p>
<p>And here is the definitions of the GS segment for the 4010 X12 standard:</p>
<p><img class="aligncenter size-full wp-image-50" title="gs_elementdef_4010" src="http://www.theintegrationengineer.com/wp-content/uploads/2008/11/gs_elementdef_4010.jpg" alt="gs elementdef 4010 EDI Enveloping Part Three (The GS)" width="615" height="219" /></p>
<p>Again there are 8 elements.</p>
<p>Now look at the size of the Date and Time elements in GS_04 and GS_05.  In the 3020 version, the Date is 6 char, and in 4010 it is 8 char.  The time also grows from a 6 to a possible 8 char size.</p>
<p>Version 4010 was considered the Y2K standard where the dates moved from a 6 char date, to and 8 char date to accommodate the century change.</p>
<p>Other than this change, the GS segments and usage are the same.</p>
<p><strong>Element by Element</strong></p>
<p><span style="color: #3366ff;">GS_01</span> is the Functional Identifier.  This designates the type of messages this envelope contains.  If it contains Purchase Orders, the GS_01 is &#8220;PO&#8221;  if it contains Invoices, it is &#8220;IN&#8221; as so forth.</p>
<p><span style="color: #3366ff;">GS_02</span> is the Sender Identifier.  This does not have to be the same as the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">ISA</a> Sender, but it can be.  This element has the same restrictions on content, a 15 character alpha-numeric.  But unlike the ISA sender, this one is not fixed in size.  This means that the delimiters fit around the value without including any white space.  In many basic implementations, the value in the ISA sender, and the GS sender are the same value.</p>
<p><span style="color: #3366ff;">GS_03</span> is the Receiver Identifier.  This does not have to be the same as the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">ISA</a> receiver, but it can be.  This element has the saem restrictions on content, a 15 character alpha-numeric.  But unlike the ISA sender, this one is not fixed in size.  This means that the delimiters fit around the values without including any white space.  In many basic implementations, the values in the ISA receiver and the GS receiver are the same value.</p>
<p><span style="color: #3366ff;">GS_04</span> is the Date.  It should be the date of the creation of the GS envelope.  Many times it is the same date as the ISA date.</p>
<p><span style="color: #3366ff;">GS_05</span> is the Time.  It should be the time of the creation of the GS envelope.  Many times it is the same as the ISA time.</p>
<p><span style="color: #3366ff;">GS_06</span> is the Control Number.  This is a 1 to 9 numeric value.  This is a number that needs to be unique inside the ISA envelope only.  Some implementations use an incrementing number that increments with the usage like the ISA control number.  Others just have a count of the number of GS envelopes inside an ISA.  Both are acceptable.  All that is required is that the GS control number be unique among other GS control numbers within the ISA envelope that it is contained in.</p>
<p><span style="color: #3366ff;">GS_07</span> is the Agency Code.  Basically for any X12 document that will be &#8220;T&#8221; or &#8220;X&#8221;.  I have only seen &#8220;X&#8221; indicating that it is really using X12.  Even when it is not.  Most of the time I ignore this value.</p>
<p><span style="color: #3366ff;">GS_08</span> is a Version identification value.  Just like the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">ISA_12</a>, this identifies the standard, but identifies it to the next level.  Thus if you are 4010, this will be 004010 and so on.</p>
<p><strong>Too Much?</strong></p>
<p>No problem, there are really a few things to pay attention to as you begin to work with GS envelopes.  And if you are just needing to do a quick edit and resubmit you may not need to do much.</p>
<ul>
<li>Pay attention to the GS_02 and GS_03, these are the sender and receiver and need to be conrect to route documents and match with the profile for most systems.</li>
<li>Make sure the GS_01 is the type of document that you are really sending.  Some systems get cranky when they get an Invoice in a Purchase Order envelope.</li>
<li>And as always, make sure your GS and GE control numbers match and are unique inside the ISA-IEA envelope.</li>
</ul>
<p>–</p>
<p>For an overview of Enveloping go <a href="http://www.theintegrationengineer.com/edi-enveloping-part-one/">here</a>.</p>
<p>Looking for the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">ISA enveloping page</a>?</p>
<p>Looking for the <a href="http://www.theintegrationengineer.com/edi-enveloping-part-four-the-st/">ST enveloping page</a>?</p>
<p>Looking for something else relating to EDI?  Check out the <a href="http://www.theintegrationengineer.com/the-edi-primer/">EDI Primer</a> post</p>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_05c95da9-4dbe-4ee8-9e7f-c5da5f522b61"  WIDTH="400px" HEIGHT="150px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Ftheinteengi-20%2F8010%2F05c95da9-4dbe-4ee8-9e7f-c5da5f522b61&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Ftheinteengi-20%2F8010%2F05c95da9-4dbe-4ee8-9e7f-c5da5f522b61&Operation=GetDisplayTemplate" id="Player_05c95da9-4dbe-4ee8-9e7f-c5da5f522b61" quality="high" bgcolor="#ffffff" name="Player_05c95da9-4dbe-4ee8-9e7f-c5da5f522b61" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="150px" width="400px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Ftheinteengi-20%2F8010%2F05c95da9-4dbe-4ee8-9e7f-c5da5f522b61&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theintegrationengineer.com/edi-enveloping-part-three-the-gs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>The EDI Primer</title>
		<link>http://www.theintegrationengineer.com/the-edi-primer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-edi-primer</link>
		<comments>http://www.theintegrationengineer.com/the-edi-primer/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 19:32:20 +0000</pubDate>
		<dc:creator>Roy</dc:creator>
				<category><![CDATA[b2b]]></category>
		<category><![CDATA[Delimiters]]></category>
		<category><![CDATA[EDI]]></category>
		<category><![CDATA[EDI Primer]]></category>
		<category><![CDATA[Elements]]></category>
		<category><![CDATA[Envelope]]></category>
		<category><![CDATA[GS]]></category>
		<category><![CDATA[ISA]]></category>
		<category><![CDATA[Segments]]></category>
		<category><![CDATA[ST]]></category>
		<category><![CDATA[convention]]></category>
		<category><![CDATA[Element Notation]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[Enveloping]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[Good Form]]></category>
		<category><![CDATA[hierarchial]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[notation]]></category>
		<category><![CDATA[Specification]]></category>
		<category><![CDATA[Unwrapped]]></category>
		<category><![CDATA[usage]]></category>
		<category><![CDATA[values]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[Wrapped]]></category>

		<guid isPermaLink="false">http://www.theintegrationengineer.com/?p=6</guid>
		<description><![CDATA[For those who may be unfamiliar with the EDI standard, and those who may have used EDI but have encountered a new, unfamiliar question. This introduction aims at addressing the basic questions of convention and implementation of the EDI technology.  I have a list of topics, and hope that over time I can cover all [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-18" title="pipes" src="http://www.theintegrationengineer.com/wp-content/uploads/2008/08/pipes.gif" alt="pipes The EDI Primer" width="76" height="95" />For those who may be unfamiliar with the EDI standard, and those who may have used EDI but have encountered a new, unfamiliar question.</p>
<p>This introduction aims at addressing the basic questions of convention and implementation of the EDI technology.  I have a list of topics, and hope that over time I can cover all of them.  I also hope that people reading here may have questions that I haven&#8217;t thought to write about.  Please let  me know what your questions are and I will see what I can do about providing answers.<span id="more-6"></span></p>
<ul>
<li><a href="http://www.theintegrationengineer.com/what-is-edi/">What is EDI?</a></li>
<li><a href="http://www.theintegrationengineer.com/the-parts-of-edi/">Parts of EDI</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-segments/">Segments</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-delimiters/">Delimiters</a></li>
<li>Conventions of EDI</li>
<li><a href="http://www.theintegrationengineer.com/why-are-there-more-than-one-version-of-edi/">Why are there more than one version of EDI?</a></li>
<li><a href="http://www.theintegrationengineer.com/usage-of-edi-specifications/">Standards and Usage</a></li>
<li>Encoded Values</li>
<li><a href="http://www.theintegrationengineer.com/edi-in-good-form/">EDI in Good Form</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-elements/">Element Notation</a></li>
<li><a href=" http://www.theintegrationengineer.com/edi-wrapped-and-unwrapped/">Wrapped and Unwrapped EDI</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-enveloping-part-one/">Enveloping Part One</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-enveloping-part-two-the-isa/">Enveloping Part Two &#8211; ISA<br />
</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-enveloping-part-three-the-gs">Enveloping Part Three &#8211; GS</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-enveloping…rt-four-the-st/">Enveloping Part Four &#8211; ST</a></li>
<li><a href="http://www.theintegrationengineer.com/edi-repeated-segments/">Loops in EDI</a></li>
<li>Hierarchical Levels</li>
</ul>
<p>Of course understanding how EDI presents and represents data is the first step.  From here we may want to go to our Data Mapping Guide, or if we are familiar with mapping there are some examples in our mapping case studies of EDI to and from other formats.  Again, if you have an interesting problem or solution, I would love to here about it.  Please send it to<br />
<a href="mailto:roy@TheIntegrationEngineer.com">roy@TheIntegrationEngineer.com</a> and I will see what I can do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theintegrationengineer.com/the-edi-primer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching using disk: basic

Served from: www.theintegrationengineer.com @ 2012-02-05 11:30:48 -->
