| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| Heading: |
|
|
|
| |
| | Pos. |
| | Seg. |
| | |
| | Req. |
| | |
| | Loop |
| | Notes and |
|
| |
| | No. |
| | ID |
| | Name |
| | Des. |
| | Max.Use |
| | Repeat |
| | Comments |
|
|
| M |
| | 010 |
| | ST |
| | Transaction Set Header |
| | M |
| | 1 |
| | |
|
| M |
| | 020 |
| | BSN |
| | Beginning Segment for Ship Notice |
| | M |
| | 1 |
| | |
|
|
| Detail: |
|
|
|
| |
| | Pos. |
| | Seg. |
| | |
| | Req. |
| | |
| | Loop |
| | Notes and |
|
| |
| | No. |
| | ID |
| | Name |
| | Des. |
| | Max.Use |
| | Repeat |
| | Comments |
|
|
| |
| | |
| | |
| | LOOP ID - HL |
| | |
| | |
| | 200000 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| M |
| | 010 |
| | HL |
| | Hierarchical Level(Shipment Level) |
| | M |
| | 1 |
| | |
| | c1 |
| |
| |
|
| |
| | 030 |
| | SN1 |
| | Item Detail (Shipment) |
| | O |
| | 1 |
| | |
| |
| |
|
| |
| | 110 |
| | TD1 |
| | Carrier Details (Quantity and Weight) |
| | O |
| | 20 |
| | |
| |
| |
|
| Must Use |
| | 120 |
| | TD5 |
| | Carrier Details (Routing Sequence/Transit Time) |
| | O |
| | 12 |
| | |
| |
| |
|
| Must Use |
| | 130 |
| | TD3 |
| | Carrier Details (Equipment) |
| | O |
| | 12 |
| | |
| |
| |
|
| Must Use |
| | 150 |
| | REF |
| | Reference Identification |
| | O |
| | >1 |
| | |
| |
| |
|
| Must Use |
| | 200 |
| | DTM |
| | Date/Time Reference |
| | O |
| | 10 |
| | |
| |
| |
|
| |
| | |
| | |
| | LOOP ID - N1 |
| | |
| | |
| | 200 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| Must Use |
| | 220 |
| | N1 |
| | Name |
| | O |
| | 1 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
|
| |
| | |
| | |
| | LOOP ID - HL |
| | |
| | |
| | 200000 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| M |
| | 010 |
| | HL |
| | Hierarchical Level(Order Level) |
| | M |
| | 1 |
| | |
| | c2 |
| |
| |
|
| Must Use |
| | 050 |
| | PRF |
| | Purchase Order Reference |
| | O |
| | 1 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
|
| |
| | |
| | |
| | LOOP ID - HL |
| | |
| | |
| | 200000 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| M |
| | 010 |
| | HL |
| | Hierarchical Level(Pack Level) |
| | M |
| | 1 |
| | |
| | c3 |
| |
| |
|
| Must Use |
| | 190 |
| | MAN |
| | Marks and Numbers |
| | O |
| | >1 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
|
| |
| | |
| | |
| | LOOP ID - HL |
| | |
| | |
| | 200000 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
| M |
| | 010 |
| | HL |
| | Hierarchical Level(Item Level) |
| | M |
| | 1 |
| | |
| | c4 |
| |
| |
|
| Must Use |
| | 020 |
| | LIN |
| | Item Identification |
| | O |
| | 1 |
| | |
| |
| |
|
| Must Use |
| | 030 |
| | SN1 |
| | Item Detail (Shipment/Line Level) |
| | O |
| | 1 |
| | |
| |
| |
|
| Must Use |
| | 060 |
| | PO4 |
| | Item Physical Details |
| | O |
| | 1 |
| | |
| |
| |
|
| Must Use |
| | 070 |
| | PID |
| | Product/Item Description |
| | O |
| | 200 |
| | |
| |
| |
|
| Must Use |
| | 110 |
| | TD1 |
| | Carrier Details (Quantity and Weight) |
| | O |
| | 20 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|
|
|
| Summary: |
|
|
|
| |
| | Pos. |
| | Seg. |
| | |
| | Req. |
| | |
| | Loop |
| | Notes and |
|
| |
| | No. |
| | ID |
| | Name |
| | Des. |
| | Max.Use |
| | Repeat |
| | Comments |
|
|
| Must Use |
| | 010 |
| | CTT |
| | Transaction Totals |
| | O |
| | 1 |
| | |
| | n1 |
|
| M |
| | 020 |
| | SE |
| | Transaction Set Trailer |
| | M |
| | 1 |
| | |
|
| | |
| | |
| 1. |
| | The HL segment is the only mandatory segment within the HL loop, and by itself, the HL segment has no meaning. |
|
| 2. |
| | The HL segment is the only mandatory segment within the HL loop, and by itself, the HL segment has no meaning. |
|
| 3. |
| | The HL segment is the only mandatory segment within the HL loop, and by itself, the HL segment has no meaning. |
|
| 4. |
| | The HL segment is the only mandatory segment within the HL loop, and by itself, the HL segment has no meaning. |
|
|
|
|
|
Segment: |
BSN Beginning Segment for Ship Notice |
Position: |
020 |
Loop: |
Level: |
Heading |
Usage: |
Mandatory |
Max Use: |
1 |
Purpose: |
To transmit identifying numbers, dates, and other basic data relating to the transaction set |
Syntax Notes: |
1 |
If BSN07 is present, then BSN06 is required. |
Semantic Notes: |
1 |
BSN03 is the date the shipment transaction set is created. |
|
2 |
BSN04 is the time the shipment transaction set is created. |
|
3 |
BSN06 is limited to shipment related codes. |
Comments: |
1 |
BSN06 and BSN07 differentiate the functionality of use for the transaction set. |
Notes: |
|
Example: BSN*00*1828458823*19980615*1454*0001 |
|
|
|
|
|
|
|
|
|
|
Ref. |
Data |
|
Des. |
Element |
Name |
Attributes |
M |
BSN01 |
353 |
Transaction Set Purpose Code |
M |
|
ID 2/2 |
|
Code identifying purpose of transaction set |
|
|
M |
BSN02 |
396 |
Shipment Identification |
M |
|
AN 2/30 |
|
A unique control number assigned by the original shipper to identify a specific shipment |
M |
BSN03 |
373 |
Date |
M |
|
DT 8/8 |
|
Date expressed as CCYYMMDD |
M |
BSN04 |
337 |
Time |
M |
|
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) |
|
BSN05 |
1005 |
Hierarchical Structure Code |
O |
|
ID 4/4 |
|
Code indicating the hierarchical application structure of a transaction set that utilizes the HL segment to define the structure of the transaction set |
|
|
0001 |
|
Shipment, Order, Packaging, Item |
|
|
|
|
Segment: |
HL Hierarchical Level(Shipment Level) |
Position: |
010 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Mandatory |
Max Use: |
1 |
Purpose: |
To identify dependencies among and the content of hierarchically related groups of data segments |
Syntax Notes: |
Semantic Notes: |
Comments: |
1 |
The HL segment is used to identify levels of detail information using a hierarchical structure, such as relating line-item data to shipment data, and packaging data to line-item data. |
|
|
The HL segment defines a top-down/left-right ordered structure. |
|
2 |
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example, HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment and would be incremented by one in each subsequent HL segment within the transaction. |
|
3 |
HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate. |
|
4 |
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order, or item-level information. |
|
5 |
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment. |
Notes: |
|
Example: HL*1**S |
|
|
|
Segment: |
TD1 Carrier Details (Quantity and Weight) |
Position: |
110 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional |
Max Use: |
20 |
Purpose: |
To specify the transportation details relative to commodity, weight, and quantity |
Syntax Notes: |
1 |
If TD101 is present, then TD102 is required. |
|
2 |
If TD103 is present, then TD104 is required. |
|
3 |
If TD106 is present, then TD107 is required. |
|
4 |
If either TD107 or TD108 is present, then the other is required. |
|
5 |
If either TD109 or TD110 is present, then the other is required. |
Semantic Notes: |
Comments: |
Notes: |
|
Example: TD1**60 |
|
|
|
Segment: |
TD5 Carrier Details (Routing Sequence/Transit Time) |
Position: |
120 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
12 |
Purpose: |
To specify the carrier and sequence of routing and provide transit time information |
Syntax Notes: |
1 |
At least one of TD502 TD504 TD505 TD506 or TD512 is required. |
|
2 |
If TD502 is present, then TD503 is required. |
|
3 |
If TD507 is present, then TD508 is required. |
|
4 |
If TD510 is present, then TD511 is required. |
|
5 |
If TD513 is present, then TD512 is required. |
|
6 |
If TD514 is present, then TD513 is required. |
|
7 |
If TD515 is present, then TD512 is required. |
Semantic Notes: |
1 |
TD515 is the country where the service is to be performed. |
Comments: |
1 |
When specifying a routing sequence to be used for the shipment movement in lieu of specifying each carrier within the movement, use TD502 to identify the party responsible for defining the routing sequence, and use TD503 to identify the actual routing sequence, specified by the party identified in TD502. |
Notes: |
|
Example: TD5**2*WATK |
|
|
|
Segment: |
TD3 Carrier Details (Equipment) |
Position: |
130 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
12 |
Purpose: |
To specify transportation details relating to the equipment used by the carrier |
Syntax Notes: |
1 |
Only one of TD301 or TD310 may be present. |
|
2 |
If TD302 is present, then TD303 is required. |
|
3 |
If TD304 is present, then TD305 is required. |
|
4 |
If either TD305 or TD306 is present, then the other is required. |
Semantic Notes: |
Comments: |
Notes: |
|
Example: TD3*TL**12345678 |
|
|
|
Segment: |
REF Reference Identification |
Position: |
150 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
>1 |
Purpose: |
To specify identifying information |
Syntax Notes: |
1 |
At least one of REF02 or REF03 is required. |
|
2 |
If either C04003 or C04004 is present, then the other is required. |
|
3 |
If either C04005 or C04006 is present, then the other is required. |
Semantic Notes: |
1 |
REF04 contains data relating to the value cited in REF02. |
Comments: |
Notes: |
|
(Required)Example: REF*BM*BILLOFLADINGNUMBER (Optional) Example: REF*CN*PROBILLNUMBER (Optional) Example: REF*PK*PACKINGLISTNUMBER |
|
|
|
Segment: |
HL Hierarchical Level(Order Level) |
Position: |
010 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Mandatory |
Max Use: |
1 |
Purpose: |
To identify dependencies among and the content of hierarchically related groups of data segments |
Syntax Notes: |
Semantic Notes: |
Comments: |
1 |
The HL segment is used to identify levels of detail information using a hierarchical structure, such as relating line-item data to shipment data, and packaging data to line-item data. |
|
|
The HL segment defines a top-down/left-right ordered structure. |
|
2 |
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example, HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment and would be incremented by one in each subsequent HL segment within the transaction. |
|
3 |
HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate. |
|
4 |
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order, or item-level information. |
|
5 |
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment. |
Notes: |
|
Example: HL*2*1*O |
|
|
|
Segment: |
HL Hierarchical Level(Pack Level) |
Position: |
010 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Mandatory |
Max Use: |
1 |
Purpose: |
To identify dependencies among and the content of hierarchically related groups of data segments |
Syntax Notes: |
Semantic Notes: |
Comments: |
1 |
The HL segment is used to identify levels of detail information using a hierarchical structure, such as relating line-item data to shipment data, and packaging data to line-item data. |
|
|
The HL segment defines a top-down/left-right ordered structure. |
|
2 |
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example, HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment and would be incremented by one in each subsequent HL segment within the transaction. |
|
3 |
HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate. |
|
4 |
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order, or item-level information. |
|
5 |
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment. |
Notes: |
|
Example: HL*3*2*P |
|
|
|
Segment: |
MAN Marks and Numbers |
Position: |
190 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
>1 |
Purpose: |
To indicate identifying marks and numbers for shipping containers |
Syntax Notes: |
1 |
If either MAN04 or MAN05 is present, then the other is required. |
|
2 |
If MAN06 is present, then MAN05 is required. |
Semantic Notes: |
1 |
MAN01/MAN02 and MAN04/MAN05 may be used to identify two different marks and numbers assigned to the same physical container. |
|
2 |
When both MAN02 and MAN03 are used, MAN02 is the starting number of a sequential range and MAN03 is the ending number of that range. |
|
3 |
When both MAN05 and MAN06 are used, MAN05 is the starting number of a sequential range, and MAN06 is the ending number of that range. |
Comments: |
1 |
When MAN01 contains code "UC" (U.P.C. Shipping Container Code) and MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The reason for this is that the U.P.C. Shipping Container code is the same on every carton that is represented in the range in MAN05/MAN06. |
|
2 |
MAN03 and/or MAN06 are only used when sending a range(s) of ID numbers. |
|
|
When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges of ID numbers, the integrity of the two ID numbers must be maintained. |
Notes: |
|
Example: MAN*GM*00007940530000190343 |
|
|
|
Segment: |
HL Hierarchical Level(Item Level) |
Position: |
010 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Mandatory |
Max Use: |
1 |
Purpose: |
To identify dependencies among and the content of hierarchically related groups of data segments |
Syntax Notes: |
Semantic Notes: |
Comments: |
1 |
The HL segment is used to identify levels of detail information using a hierarchical structure, such as relating line-item data to shipment data, and packaging data to line-item data. |
|
|
The HL segment defines a top-down/left-right ordered structure. |
|
2 |
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example, HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment and would be incremented by one in each subsequent HL segment within the transaction. |
|
3 |
HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate. |
|
4 |
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order, or item-level information. |
|
5 |
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment. |
Notes: |
|
Example: HL*4*3*I |
|
|
|
Segment: |
LIN Item Identification |
Position: |
020 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
1 |
Purpose: |
To specify basic item identification data |
Syntax Notes: |
1 |
If either LIN04 or LIN05 is present, then the other is required. |
|
2 |
If either LIN06 or LIN07 is present, then the other is required. |
|
3 |
If either LIN08 or LIN09 is present, then the other is required. |
|
4 |
If either LIN10 or LIN11 is present, then the other is required. |
|
5 |
If either LIN12 or LIN13 is present, then the other is required. |
|
6 |
If either LIN14 or LIN15 is present, then the other is required. |
|
7 |
If either LIN16 or LIN17 is present, then the other is required. |
|
8 |
If either LIN18 or LIN19 is present, then the other is required. |
|
9 |
If either LIN20 or LIN21 is present, then the other is required. |
|
10 |
If either LIN22 or LIN23 is present, then the other is required. |
|
11 |
If either LIN24 or LIN25 is present, then the other is required. |
|
12 |
If either LIN26 or LIN27 is present, then the other is required. |
|
13 |
If either LIN28 or LIN29 is present, then the other is required. |
|
14 |
If either LIN30 or LIN31 is present, then the other is required. |
Semantic Notes: |
1 |
LIN01 is the line item identification |
Comments: |
1 |
See the Data Dictionary for a complete list of IDs. |
|
2 |
LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU. |
Notes: |
|
Example: LIN**UP*0794053018326*IN*8400211 |
|
|
|
|
|
|
|
|
|
|
Ref. |
Data |
|
Des. |
Element |
Name |
Attributes |
M |
LIN02 |
235 |
Product/Service ID Qualifier |
M |
|
ID 2/2 |
|
Code identifying the type/source of the descriptive number used in Product/Service ID (234) |
|
|
UP |
|
U.P.C. Consumer Package Code (1-5-5-1) |
|
M |
LIN03 |
234 |
Product/Service ID |
M |
|
AN 1/48 |
|
Identifying number for a product or service |
|
LIN04 |
235 |
Product/Service ID Qualifier |
X |
|
ID 2/2 |
|
Code identifying the type/source of the descriptive number used in Product/Service ID (234) |
|
|
IN |
|
Buyer's Item Number |
|
Pep Boys SKU Number |
|
|
LIN05 |
234 |
Product/Service ID |
X |
|
AN 1/48 |
|
Identifying number for a product or service |
|
|
|
Segment: |
PO4 Item Physical Details |
Position: |
060 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
1 |
Purpose: |
To specify the physical qualities, packaging, weights, and dimensions relating to the item |
Syntax Notes: |
1 |
If either PO402 or PO403 is present, then the other is required. |
|
2 |
If PO405 is present, then PO406 is required. |
|
3 |
If either PO406 or PO407 is present, then the other is required. |
|
4 |
If either PO408 or PO409 is present, then the other is required. |
|
5 |
If PO410 is present, then PO413 is required. |
|
6 |
If PO411 is present, then PO413 is required. |
|
7 |
If PO412 is present, then PO413 is required. |
|
8 |
If PO413 is present, then at least one of PO410 PO411 or PO412 is required. |
|
9 |
If PO417 is present, then PO416 is required. |
|
10 |
If PO418 is present, then PO404 is required. |
Semantic Notes: |
1 |
PO415 is used to indicate the relative layer of this package or range of packages within the layers of packaging. Relative Position 1 (value R1) is the innermost package. |
|
2 |
PO416 is the package identifier or the beginning package identifier in a range of identifiers. |
|
3 |
PO417 is the ending package identifier in a range of identifiers. |
|
4 |
PO418 is the number of packages in this layer. |
Comments: |
1 |
PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ". |
|
2 |
PO413 defines the unit of measure for PO410, PO411, and PO412. |
Notes: |
|
Example: PO4*2 |
|
|
|
Segment: |
PID Product/Item Description |
Position: |
070 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
200 |
Purpose: |
To describe a product or process in coded or free-form format |
Syntax Notes: |
1 |
If PID04 is present, then PID03 is required. |
|
2 |
At least one of PID04 or PID05 is required. |
|
3 |
If PID07 is present, then PID03 is required. |
|
4 |
If PID08 is present, then PID04 is required. |
|
5 |
If PID09 is present, then PID05 is required. |
Semantic Notes: |
1 |
Use PID03 to indicate the organization that publishes the code list being referred to. |
|
2 |
PID04 should be used for industry-specific product description codes. |
|
3 |
PID08 describes the physical characteristics of the product identified in PID04. A "Y" indicates that the specified attribute applies to this item; an "N" indicates it does not apply. Any other value is indeterminate. |
|
4 |
PID09 is used to identify the language being used in PID05. |
Comments: |
1 |
If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used. |
|
2 |
Use PID06 when necessary to refer to the product surface or layer being described in the segment. |
|
3 |
PID07 specifies the individual code list of the agency specified in PID03. |
Notes: |
|
Example: PID*F****PART DESCRIPTION |
|
|
|
Segment: |
TD1 Carrier Details (Quantity and Weight) |
Position: |
110 |
Loop: |
HL Mandatory |
Level: |
Detail |
Usage: |
Optional (Must Use) |
Max Use: |
20 |
Purpose: |
To specify the transportation details relative to commodity, weight, and quantity |
Syntax Notes: |
1 |
If TD101 is present, then TD102 is required. |
|
2 |
If TD103 is present, then TD104 is required. |
|
3 |
If TD106 is present, then TD107 is required. |
|
4 |
If either TD107 or TD108 is present, then the other is required. |
|
5 |
If either TD109 or TD110 is present, then the other is required. |
Semantic Notes: |
Comments: |
Notes: |
|
Example: TD1**57****G*437*LB |