Spartan Stores, Inc.
940 Warehouse Shipping Order
Functional Group ID= OW
Introduction:
This Draft Standard for Trial Use contains the format and establishes the data contents of the Warehouse Shipping
Order Transaction Set (940) for use within the context of an Electronic Data Interchange (EDI) environment. This
transaction set can be used to enable the depositor to advise a warehouse to make a shipment, confirm a shipment, or
modify or cancel a previously transmitted shipping order.
Notes:
Changes are accomplished by restating the value of the data elements to be changed. This is a replacement value
rather than the "change amount". Additions are entered by following the same procedure used when entering
original shipping order segments and data elements. Mandatory and changed segments and data elements are
required. Deletions are handled be restating the values to zeros or blanks. If an item is to be deleted, the quantity
ordered is restated to zero. An entire shipping order is deleted by entering a code of "D" for Data Element 473
(Order Status Code) in the W05 (Shipping Order Identification) segment.
Heading:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
M 0100 ST Transaction Set Header M 1
M 0200 W05 Shipping Order Identification M 1
LOOP ID - 0100 10
0400 N1 Name O 1
1000 G61 Contact O 3
1100 G62 Date/Time O 10
1200 NTE Note/Special Instruction O >1
1400 W66 Warehouse Carrier Information O 1
Detail:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
LOOP ID - 0300 >1
0050 LX Assigned Number O 1
LOOP ID - 0310 >1
0200 W01 Line Item Detail - Warehouse O 1
0300 G69 Line Item Detail - Description O 5
0500 W20 Line-Item Detail - Miscellaneous O 3
Summary:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
0100 W76 Total Shipping Order O 1
M 0200 SE Transaction Set Trailer M 1
940 from Spartan (0040300UCS) 1 July, 2001
Spartan Stores, Inc.
Segment: ST Transaction Set Header
Position: 0100
Loop:
Level: Heading
Usage: Mandatory
Max Use: 1
Purpose: To indicate the start of a transaction set and to assign a control number
Syntax Notes:
Semantic Notes: 1 The transaction set identifier (ST01) is used by the translation routines of the
interchange partners to select the appropriate transaction set definition (e.g., 810
selects the Invoice Transaction Set).
2 The implementation convention reference (ST03) is used by the translation routines
of the interchange partners to select the appropriate implementation convention to
match the transaction set definition.
Comments:
Data Element Summary
Ref. Data
Des. Element Name Attributes
M ST01 143 Transaction Set Identifier Code M ID 3/3
Code uniquely identifying a Transaction Set
Refer to 004030UCS Data Element Dictionary for acceptable code values.
M ST02 329 Transaction Set Control Number M AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
The control number is comprised of the functional group control number (Data
Element 28 in the GS segment) followed by a three-digit sequence number.
The sequence number is sequentially assigned by the sender, starting with one
within each functional group. For each functional group, the first sequence
number will be 001 and will incremented by one for each additional transaction
set within the group.
940 from Spartan (0040300UCS) 2 July, 2001
Spartan Stores, Inc.
Segment: W05 Shipping Order Identification
Position: 0200
Loop:
Level: Heading
Usage: Mandatory
Max Use: 1
Purpose: To transmit identifying numbers and other basic data for this transaction set
Syntax Notes: 1 If either W0504 or W0505 is present, then the other is required.
Semantic Notes:
Comments:
Data Element Summary
Ref. Data
Des. Element Name Attributes
M W0501 473 Order Status Code M ID 1/1
Code identifying purpose of transaction set
When W0501 contains code L (Line Item Replace), all occurrences of the same
referenced product identification must be included.
When W0501 contains code R (Change), the order should be transmitted in
total.
F Cancel
Used in Transaction Sets 940
N Original
Used in Transaction Sets 875 and 940.
R Change
Used in Transaction Sets 940
M W0502 285 Depositor Order Number M AN 1/22
Identifying number for warehouse shipping order assigned by the depositor
W0502 must be returned as received on the warehouse shipping advice.
W0503 324 Purchase Order Number O AN 1/22
Identifying number for Purchase Order assigned by the orderer/purchaser
For WINS, if the purchase order number is provided, it should be returned on
the confirmation.
W0504 472 Link Sequence Number X N0 6/6
A two-part number in the form "SSSTTT" where "SSS" is a sequentially
assigned number and "TTT" equals the highest sequential number being used
within the associated (linked) group (Leading zeros are required for both "SSS"
and "TTT")
W0505 474 Master Reference (Link) Number X AN 1/22
Reference number assigned by the sender to relate a transaction set to a master
transaction (When associating a group of purchase orders, invoices or other
transaction sets, use the master reference (link) number to identify the group
and the link sequence number to identify individual transaction sets within the
group)
W0503, if provided, should be returned on the confirmation.
W0506 640 Transaction Type Code O ID 2/2
Code specifying the type of transaction
Refer to 4030UCS Data Element Dictionary for acceptable code values.
W0507 306 Action Code O ID 1/2
940 from Spartan (0040300UCS) 3 July, 2001
Spartan Stores, Inc.
Code indicating type of action
Refer to 004030UCS Data Element Dictionary for acceptable code values.
940 from Spartan (0040300UCS) 4 July, 2001
Spartan Stores, Inc.
Segment: N1 Name
Position: 0400
Loop: 0100 Optional
Level: Heading
Usage: Optional
Max Use: 1
Purpose: To identify a party by type of organization, name, and code
Syntax Notes: 1 At least one of N102 or N103 is required.
2 If either N103 or N104 is present, then the other is required.
Semantic Notes:
Comments: 1 This segment, used alone, provides the most efficient method of providing
organizational identification. To obtain this efficiency the "ID Code" (N104) must
provide a key to the table maintained by the transaction processing party.
2 N105 and N106 further define the type of entity in N101.
Notes: Parties may define multiple identification codes for a location, using N103, in order to
support warehouse or depositor processing. For example, multiple identification codes
might be used to differentiate product lines or stocks for a depositor.
When W0501 contains code B, C, E or N, at least one occurrence of this segment is
required.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M N101 98 Entity Identifier Code M ID 2/3
Code identifying an organizational entity, a physical location, property or an
individual
SF Ship From
Location from which product is/should be shipped
ST Ship To
VN Vendor
N102 93 Name X AN 1/60
Free-form name
N103 66 Identification Code Qualifier X ID 1/2
Code designating the system/method of code structure used for Identification
Code (67)
9 D-U-N-S+4, D-U-N-S Number with Four Character
Suffix
The identification code consists of a 9-digit DUNS
number for the party followed by a 4-character suffix
defined by the party.
N104 67 Identification Code X AN 2/80
Code identifying a party or other code
Parties may define multiple identification codes for a location in order to
support warehouse or depositor processing. For example, multiple
identification codes might be used to differentiate product lines or stocks for a
depositor. Also see Data Elements 66 (Identification Code Qualifier) and 98
(Entity Identifier Code).
N105 706 Entity Relationship Code O ID 2/2
Code describing entity relationship
Refer to 004030UCS Data Element Dictionary for acceptable code values.
N106 98 Entity Identifier Code O ID 2/3
940 from Spartan (0040300UCS) 5 July, 2001
Spartan Stores, Inc.
Code identifying an organizational entity, a physical location, property or an
individual
Refer to 004030UCS Data Element Dictionary for acceptable code values.
940 from Spartan (0040300UCS) 6 July, 2001
Spartan Stores, Inc.
Segment: G61 Contact
Position: 1000
Loop:
Level: Heading
Usage: Optional
Max Use: 3
Purpose: To identify a person or office to whom communications should be directed
Syntax Notes: 1 If either G6103 or G6104 is present, then the other is required.
Semantic Notes:
Comments: 1 G6103 qualifies G6104.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M G6101 366 Contact Function Code M ID 2/2
Code identifying the major duty or responsibility of the person or group named
BD Buyer Name or Department
M G6102 93 Name M AN 1/60
Free-form name
G6103 365 Communication Number Qualifier X ID 2/2
Code identifying the type of communication number
Also see Data Element 364 (Communication Number).
TE Telephone
G6104 364 Communication Number X AN 1/256
Complete communications number including country or area code when
applicable
G6105 443 Contact Inquiry Reference O AN 1/20
Additional reference number or description to clarify a contact number
940 from Spartan (0040300UCS) 7 July, 2001
Spartan Stores, Inc.
Segment: G62 Date/Time
Position: 1100
Loop:
Level: Heading
Usage: Optional
Max Use: 10
Purpose: To specify pertinent dates and times
Syntax Notes: 1 At least one of G6201 or G6203 is required.
2 If either G6201 or G6202 is present, then the other is required.
3 If either G6203 or G6204 is present, then the other is required.
Semantic Notes:
Comments:
Data Element Summary
Ref. Data
Des. Element Name Attributes
G6201 432 Date Qualifier X ID 2/2
Code specifying type of date
10 Requested Ship Date/Pick-up Date
G6202 373 Date X DT 8/8
Date expressed as CCYYMMDD where CC represents the first two digits of
the calendar year
G6203 176 Time Qualifier X ID 1/2
Code specifying the reported time
Refer to 004030UCS Data Element Dictionary for acceptable code values.
G6204 337 Time X TM 4/8
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or
HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-
59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds
are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
G6205 623 Time Code O ID 2/2
Code identifying the time. In accordance with International Standards
Organization standard 8601, time can be specified by a + or - and an indication
in hours in relation to Universal Time Coordinate (UTC) time; since + is a
restricted character, + and - are substituted by P and M in the codes that follow
Refer to 004030UCS Data Element Dictionary for acceptable code values.
940 from Spartan (0040300UCS) 8 July, 2001
Spartan Stores, Inc.
Segment: NTE Note/Special Instruction
Position: 1200
Loop:
Level: Heading
Usage: Optional
Max Use: >1
Purpose: To transmit information in a free-form format, if necessary, for comment or special
instruction
Syntax Notes:
Semantic Notes:
Comments: 1 The NTE segment permits free-form information/data which, under ANSI X12
standard implementations, is not machine processible. The use of the NTE segment
should therefore be avoided, if at all possible, in an automated environment.
Notes: This segment is normally not used in this transaction.
Data Element Summary
Ref. Data
Des. Element Name Attributes
NTE01 363 Note Reference Code O ID 3/3
Code identifying the functional area or purpose for which the note applies
Refer to 004030UCS Data Element Dictionary for acceptable code values.
M NTE02 352 Description M AN 1/80
A free-form description to clarify the related data elements and their content
940 from Spartan (0040300UCS) 9 July, 2001
Spartan Stores, Inc.
Segment: W66 Warehouse Carrier Information
Position: 1400
Loop:
Level: Heading
Usage: Optional
Max Use: 1
Purpose: To specify transportation instructions relating to shipment
Syntax Notes: 1 If either W6608 or W6609 is present, then the other is required.
Semantic Notes: 1 W6609 is the monetary amount of the charges to be collected on delivery of order.
Comments:
Data Element Summary
Ref. Data
Des. Element Name Attributes
M W6601 146 Shipment Method of Payment M ID 2/2
Code identifying payment terms for transportation charges
For all air shipments, use code in IATA rule 650.
For Warehouse Transaction Set usage only
Refer to 004030UCS Data Element Dictionary for acceptable code values.
M W6602 91 Transportation Method/Type Code M ID 1/2
Code specifying the method or type of transportation for the shipment
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W6603 399 Pallet Exchange Code O ID 1/1
Code specifying pallet exchange instructions
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W6604 400 Unit Load Option Code O ID 2/2
Code identifying loading or unloading a shipment
W6604 is the requested method of loading a shipment.
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W6605 387 Routing O AN 1/35
Free-form description of the routing or requested routing for shipment, or the
originating carrier's identity
W6606 433 F.O.B. Point Code O ID 2/2
Code identifying type of F.O.B. point
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W6607 434 F.O.B. Point O AN 1/30
Descriptive name of F.O.B. point
W6608 625 COD Method of Payment Code X ID 1/1
Code indicating method of payment acceptable for C.O.D. charge collection
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W6609 610 Amount X N2 1/15
Monetary amount
Monetary amount
W6610 140 Standard Carrier Alpha Code O ID 2/4
Standard Carrier Alpha Code
This is the carrier that picked-up the shipment at the warehouse. If the
shipment was picked-up by the consignee, the carrier SCAC code should
940 from Spartan (0040300UCS) 10 July, 2001
Spartan Stores, Inc.
default to 'ZZZZ'. Also see Data Element 387 (Routing).
940 from Spartan (0040300UCS) 11 July, 2001
Spartan Stores, Inc.
Segment: LX Assigned Number
Position: 0050
Loop: 0300 Optional
Level: Detail
Usage: Optional
Max Use: 1
Purpose: To reference a line number in a transaction set
Syntax Notes:
Semantic Notes:
Comments:
Data Element Summary
Ref. Data
Des. Element Name Attributes
M LX01 554 Assigned Number M N0 1/6
Number assigned for differentiation within a transaction set
940 from Spartan (0040300UCS) 12 July, 2001
Spartan Stores, Inc.
Segment: W01 Line Item Detail - Warehouse
Position: 0200
Loop: 0310 Optional
Level: Detail
Usage: Optional
Max Use: 1
Purpose: To transmit basic and most frequent shipment-related line-item data elements
Syntax Notes: 1 At least one of W0103 or W0104 is required.
2 If either W0104 or W0105 is present, then the other is required.
3 If either W0106 or W0107 is present, then the other is required.
4 If either W0110 or W0111 is present, then the other is required.
5 If either W0115 or W0116 is present, then the other is required.
Semantic Notes:
Comments:
Notes: If an order was manually entered by the warehouse with no shipping order, W0101
should be passed as zero. Since warehouse systems may not be able to accurately return
the quantity ordered in the warehouse shipping advice, depositors should make provisions
to determine the quantity ordered from their internal files. A tracking of the original
quantity ordered is the responsibility of the depositor.
Effective with the UCS version coinciding with the UCC-published sunset date (2005)
for the discontinuation of the use of 12-digit product identifiers, W0103 (U.P.C. Case
Code) will be marked as not used and will be replaced with the qualifier UK
(U.P.C./EAN Shipping Container Code (1-2-5-5-1) in W0104. The corresponding 14-
digit product code will be reflected in DE234. This parallels the global transition to the
14-digit UCC/EAN-14 product identification numbering structure. In preparation for this
transition, the UK qualifier and the corresponding 14-digit product code should be
communicated in W0104 and W0105, respectively.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M W0101 330 Quantity Ordered M R0 1/15
Quantity ordered
For WINS, if an order was mutually entered by the warehouse with no shipping
order, the quantity ordered should be passed as zero. Since warehouse systems
may not be able to accurately return the quantity ordered in the Warehouse
Shipping Advice Transaction Set (945), depositors should make provision to
determine the quantity ordered from their internal files. A tracking of the
original quantity ordered is the responsibility of the depositor.
M W0102 355 Unit or Basis for Measurement Code M ID 2/2
Code specifying the units in which a value is being expressed, or manner in
which a measurement has been taken
The unit or basis for measurement code is used to qualify the contents of
various data elements. It will vary depending on the data element it qualifies
and the convention within industry groups.
CA Case
W0103 438 U.P.C. Case Code X AN 12/12
Code (Universal Product Code - U.P.C.) including two high order digits
identifying the "system" (U.S. Grocery = 00, 06 or 07; U.S. Drug = 03); using
the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code
(5)
W0103 may not define the product to be shipped with enough uniqueness to
satisfy packing or lot variation. In such cases, W0104 and W0105 should be
940 from Spartan (0040300UCS) 13 July, 2001
Spartan Stores, Inc.
passed.
W0104 235 Product/Service ID Qualifier X ID 2/2
Code identifying the type/source of the descriptive number used in
Product/Service ID (234)
W0104 must be used whenever the depositor's U.P.C. number cannot be used
to express packing or lot variations. Serial numbers are passed at the line item
level using line item N9 segments.
The codes listed for W0104 apply to every occurrence of data element 235 in
the W01 segment.
PI Purchaser's Item Code
W0105 234 Product/Service ID X AN 1/48
Identifying number for a product or service
W0106 235 Product/Service ID Qualifier X ID 2/2
Code identifying the type/source of the descriptive number used in
Product/Service ID (234)
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W0107 234 Product/Service ID X AN 1/48
Identifying number for a product or service
W0108 59 Freight Class Code O AN 2/5
Code indicating generalized classification that applies to one or more items in
the shipment, i.e., class 70, 77.5, etc.
See Appendix A References 8, 9, 11 and 25 for additional information
regarding W0108.
W0109 121 Rate Class Code O ID 1/3
Code identifying specifically designated class of goods; Note: For international
air shipments, see IATA Resolution 600k
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W0110 23 Commodity Code Qualifier X ID 1/1
Code identifying the commodity coding system used for Commodity Code
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W0111 22 Commodity Code X AN 1/30
Code describing a commodity or group of commodities
W0111 is used to pass commodity information to support freight rating for
products in an order, when a bill of lading is created for an order. The
commodity code is used to group and identify products for proper freight rating
by the carrier. Also see W0108. Warehouses generally keep this information in
their product master files.
W0112 416 Pallet Block and Tiers O N0 6/6
Code indicating pallet and load structure; first three digits indicate the number
of cases per layer, last three digits indicate the number of layers per pallet
W0113 451 Warehouse Lot Number O AN 1/12
Reference number assigned by the warehouse
W0114 286 Product/Service Condition Code O ID 2/2
Code identifying condition of product/service
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W0115 235 Product/Service ID Qualifier X ID 2/2
Code identifying the type/source of the descriptive number used in
Product/Service ID (234)
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W0116 234 Product/Service ID X AN 1/48
940 from Spartan (0040300UCS) 14 July, 2001
Spartan Stores, Inc.
Identifying number for a product or service
940 from Spartan (0040300UCS) 15 July, 2001
Spartan Stores, Inc.
Segment: G69 Line Item Detail - Description
Position: 0300
Loop: 0310 Optional
Level: Detail
Usage: Optional
Max Use: 5
Purpose: To describe an item in free-form format
Syntax Notes:
Semantic Notes:
Comments:
Notes: This segment is normally not used in this transaction.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M G6901 369 Free-form Description M AN 1/45
Free-form descriptive text
940 from Spartan (0040300UCS) 16 July, 2001
Spartan Stores, Inc.
Segment: W20 Line-Item Detail - Miscellaneous
Position: 0500
Loop: 0310 Optional
Level: Detail
Usage: Optional
Max Use: 3
Purpose: To specify packing details of the items shipped
Syntax Notes: 1 If either W2002 or W2003 is present, then the other is required.
2 If any of W2004 W2005 or W2006 is present, then all are required.
3 If either W2008 or W2009 is present, then the other is required.
Semantic Notes:
Comments:
Notes: This segment is normally not used if the information found by referencing W0103 or
W0105 in the W01 segment is not sufficiently descriptive, or if description of
commodities of variable weights and/or packaging is required.
Data Element Summary
Ref. Data
Des. Element Name Attributes
W2001 356 Pack O N0 1/6
The number of inner containers, or number of eaches if there are no inner
containers, per outer container
W2002 357 Size X R3 1/8
Size of supplier units in pack
W2002 expresses the size of the packages within a case (e.g., 10 oz. pkg. of
frozen vegetables)
W2003 355 Unit or Basis for Measurement Code X ID 2/2
Code specifying the units in which a value is being expressed, or manner in
which a measurement has been taken
The unit or basis for measurement code is used to qualify the contents of
various data elements. It will vary depending on the data element it qualifies
and the convention within industry groups.
GA Gallon
LB Pound
OZ Ounce - Av
TE Tote
W2004 81 Weight X R2 1/10
Numeric value of weight
W2005 187 Weight Qualifier X ID 1/2
Code defining the type of weight
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W2006 188 Weight Unit Code X ID 1/1
Code specifying the weight unit
Refer to 004030UCS Data Element Dictionary for acceptable code values.
W2007 395 Unit Weight O R3 1/8
Numeric value of weight per unit
W2007 is the actual weight of a package (unit) in the case, including the
package. This is commonly referred to as tare weight.
W2008 183 Volume X R3 1/8
Value of volumetric measure
W2009 355 Unit or Basis for Measurement Code X ID 2/2
940 from Spartan (0040300UCS) 17 July, 2001
Spartan Stores, Inc.
Code specifying the units in which a value is being expressed, or manner in
which a measurement has been taken
The unit or basis for measurement code is used to qualify the contents of
various data elements. It will vary depending on the data element it qualifies
and the convention within industry groups.
CC Cubic Centimeter
CF Cubic Feet
CI Cubic Inches
CR Cubic Meter
W2010 397 Color O AN 1/10
Free-form description of color
940 from Spartan (0040300UCS) 18 July, 2001
Spartan Stores, Inc.
Segment: W76 Total Shipping Order
Position: 0100
Loop:
Level: Summary
Usage: Optional
Max Use: 1
Purpose: To specify summary details of total items shipped in terms of quantity, weight, and
volume
Syntax Notes: 1 If either W7602 or W7603 is present, then the other is required.
2 If either W7604 or W7605 is present, then the other is required.
3 If W7606 is present, then W7603 is required.
Semantic Notes:
Comments: 1 Quantity ordered (W7601) is a hash total and the unit of measure is not required.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M W7601 330 Quantity Ordered M R0 1/15
Quantity ordered
If an order was mutually entered by the warehouse with no shipping order,
W7601 should be passed as zero. Since warehouse systems may not be able to
accurately return the quantity ordered in the warehouse shipping advice,
depositors should make provision to determine the quantity ordered from their
internal files. A tracking of the original quantity ordered is the responsibility of
the depositor.
When W0501 contains code B, C, E, N, or R, the W76 segment is required.
W7602 81 Weight X R2 1/10
Numeric value of weight
W7603 355 Unit or Basis for Measurement Code X ID 2/2
Code specifying the units in which a value is being expressed, or manner in
which a measurement has been taken
The unit or basis for measurement code is used to qualify the contents of
various data elements. It will vary depending on the data element it qualifies
and the convention within industry groups.
LB Pound
W7604 183 Volume X R3 1/8
Value of volumetric measure
W7605 355 Unit or Basis for Measurement Code X ID 2/2
Code specifying the units in which a value is being expressed, or manner in
which a measurement has been taken
The unit or basis for measurement code is used to qualify the contents of
various data elements. It will vary depending on the data element it qualifies
and the convention within industry groups.
CF Cubic Feet
W7606 398 Order Sizing Factor O R3 1/10
A product specification other than gross or net weight, or cubic feet for a line
item or transaction used for order sizing and pricing purposes
940 from Spartan (0040300UCS) 19 July, 2001
Spartan Stores, Inc.
Segment: SE Transaction Set Trailer
Position: 0200
Loop:
Level: Summary
Usage: Mandatory
Max Use: 1
Purpose: To indicate the end of the transaction set and provide the count of the transmitted
segments (including the beginning (ST) and ending (SE) segments)
Syntax Notes:
Semantic Notes:
Comments: 1 SE is the last segment of each transaction set.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M SE01 96 Number of Included Segments M N0 1/10
Total number of segments included in a transaction set including ST and SE
segments
When used in the SE segment, the count includes the total number of segments
in the transaction including the ST and SE segments.
M SE02 329 Transaction Set Control Number M AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
The control number is comprised of the functional group control number (Data
Element 28 in the GS segment) followed by a three-digit sequence number.
The sequence number is sequentially assigned by the sender, starting with one
within each functional group. For each functional group, the first sequence
number will be 001 and will incremented by one for each additional transaction
set within the group.
940 from Spartan (0040300UCS) 20 July, 2001